Skip to content

ARMV7: Fixing Vexpress build errors and warnings

Dirk Behme u-boot 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest0 of 2 patches 0 repliesNew

Patches in v1 No applies recorded yet

None of the 2 patches the cover letter announces are in this archive.

Reviews trailers per patch

PatchDirk Behme
SeriesSigned-of-by

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [U-Boot] [PATCH 0/2] ARMV7: Fixing Vexpress build errors and warnings
Quoted 19 lines · Albert ARIBAUD

Le 03/11/2010 00:25, matt.waddel at linaro.org a ?crit :

Quoted 10 lines

From: Matt Waddel<[email protected]>

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

Quoted 7 lines
   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

Quoted 2 lines

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'

---
  board/armltd/vexpress/ca9x4_ct_vxp.c |    2 +-
  1 file changed, 1 insertion(+), 1 deletion(-)
board/armltd/vexpress/ca9x4_ct_vxp.c +1 -1
Index: 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;