[U-Boot] Pull request: u-boot-arm

Wolfgang Denk
2010-11-17T21:54:19Z

Dear =?iso-8859-1?Q?Lo=EFc?= Minier,

In message <20101117213409.GA16160@bee.dooz.org> you wrote:
> Hey
>
> On Wed, Nov 17, 2010, Wolfgang Denk wrote:
> > Sanjeev Premi (3):
> > omap3evm: Support relocation
> > omap3evm: Wrap function under CONFIG_USB_OMAP3
> > omap3evm: Fix mechanism to identify board revision
>
> I was expecting this would fix the build of omap3_evm, but it still
> fails for me:
> http://hudson.dooz.org/job/u-boot_master/BOARD=3Domap3_evm/39/console
> make[1]: Entering directory `/srv/hudson.dooz.org/home/jobs/u-boot_master/w=
> orkspace/BOARD/omap3_evm/arch/arm/cpu/armv7'
> arm-linux-gnueabi-gcc -D__ASSEMBLY__ -g -Os -fno-common -ffixed-r8 -ms=
> oft-float -D__KERNEL__ -DCONFIG_SYS_TEXT_BASE=3D0x80008000 -I/srv/hudson.=
> dooz.org/home/jobs/u-boot_master/workspace/BOARD/omap3_evm/include -fno-bui=
> ltin -ffreestanding -nostdinc -isystem /usr/lib/gcc/arm-linux-gnueabi/4.4.5=
> /include -pipe -DCONFIG_ARM -D__ARM__ -marm -mabi=3Daapcs-linux -mno-thum=
> b-interwork -march=3Darmv5 \
> -o start.o start.S -c
> start.S: Assembler messages:
> start.S:144: Error: constant expression expected -- `ldr sp,=3D((0x4020FFFC=
> -CONFIG_SYS_GBL_DATA_SIZE))'
> make[1]: *** [start.o] Error 1
> make[1]: Leaving directory `/srv/hudson.dooz.org/home/jobs/u-boot_master/wo=
> rkspace/BOARD/omap3_evm/arch/arm/cpu/armv7'

CONFIG_SYS_GBL_DATA_SIZE does not exist any more; it now gets
auto-generated. Seems there are a few boards out there that escaped
the change:

-> find * -type f | xargs egrep -l CONFIG_SYS_GBL_DATA_SIZE
include/configs/io.h
include/configs/devkit8000.h
include/configs/omap3_evm.h
include/configs/iocon.h

Patches welcome.

Best regards,

Wolfgang Denk

--
DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
"To take a significant step forward, you must make a series of finite
improvements." - Donald J. Atwood, General Motors