[U-Boot] [PATCH] ARMV7:ca9x4_ct_vxp: udelay reference fix

Matt Waddel matt.waddel at canonical.com
Mon Nov 29 19:09:23 CET 2010


Fixes undefined reference to `__udelay' build failure.

Signed-off-by: Matt Waddel <matt.waddel at linaro.org>
---
 board/armltd/vexpress/ca9x4_ct_vxp.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/board/armltd/vexpress/ca9x4_ct_vxp.c
b/board/armltd/vexpress/ca9x4_ct_vxp.c
index c1c4ea1..ce1be1e 100644
--- a/board/armltd/vexpress/ca9x4_ct_vxp.c
+++ b/board/armltd/vexpress/ca9x4_ct_vxp.c
@@ -157,7 +157,7 @@ void reset_cpu(ulong addr)
  * Delay x useconds AND perserve advance timstamp value
  *     assumes timer is ticking at 1 msec
  */
-void udelay(ulong usec)
+void __udelay(ulong usec)
 {
 	ulong tmo, tmp;

-- 
1.7.1


More information about the U-Boot mailing list