[U-Boot] [PATCH 0/2] ARMV7: Fixing Vexpress build errors and warnings
Dirk Behme
dirk.behme at googlemail.com
Mon Nov 29 19:56:59 CET 2010
On 29.11.2010 19:13, Albert ARIBAUD wrote:
> Le 03/11/2010 00:25, matt.waddel at linaro.org a écrit :
>> From: Matt Waddel<matt.waddel at linaro.org>
>>
>> These patches fix several build errors and warnings. A successful build for
>> this platform depends on Steve Sakoman's "ARMV7: Fix build for non-OMAP3
>> boards" patch.
>>
>> Matt Waddel (2):
>> ARMV7: Vexpress build errors
>> ARMV7: Vexpress compile warnings
>>
>> arch/arm/include/asm/arch-armv7/sys_proto.h | 29 ++++++++++++
>> board/armltd/vexpress/ca9x4_ct_vxp.c | 9 +++-
>> board/armltd/vexpress/config.mk | 3 +-
>> board/armltd/vexpress/u-boot.lds | 65 ---------------------------
>> 4 files changed, 36 insertions(+), 70 deletions(-)
>> create mode 100644 arch/arm/include/asm/arch-armv7/sys_proto.h
>> delete mode 100644 board/armltd/vexpress/u-boot.lds
>
> Wofgang, maybe I can take over u-boot-arm now and start by applying
> these two patches (and let you pull u-boot-arm later this week)?
With recent master, besides the two patches above, I additionally need
something like below to get ca9x4_ct_vxp build:
ARMV7: Vexpress: Fix build error
Fix ca9x4_ct_vxp build error
Configuring for ca9x4_ct_vxp board...
board/armltd/vexpress/libvexpress.o: In function `udelay':
u-boot.git/board/armltd/vexpress/ca9x4_ct_vxp.c:161: multiple
definition of `udelay'
lib/libgeneric.o:u-boot.git/lib/time.c:34: first defined here
lib/libgeneric.o: In function `udelay':
zlib.c:(.text+0x1ee8): undefined reference to `__udelay'
Signed-of-by: Dirk Behme <dirk.behme at googlemail.com>
---
board/armltd/vexpress/ca9x4_ct_vxp.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
Index: u-boot.git/board/armltd/vexpress/ca9x4_ct_vxp.c
===================================================================
--- u-boot.git.orig/board/armltd/vexpress/ca9x4_ct_vxp.c
+++ u-boot.git/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;
More information about the U-Boot
mailing list