[U-Boot-Users] [PATCH] fix undefined error on omap5912osk

Hiroki Kaminaga kaminaga at sm.sony.co.jp
Wed Feb 1 06:03:47 CET 2006


Hi,

This patch fixes following error:

arm-sony-linux-gcc -Wa,-gstabs -D__ASSEMBLY__ -g  -Os   -fno-strict-aliasing  -fno-common -ffixed-r8 -msoft-float -malignment-traps -D__KERNEL__ -DTEXT_BASE=0x11080000 -Iu-boot-1.1.4/include -fno-builtin -ffreestanding -nostdinc -isystem /usr/local/arm-sony-linux/devel/lib/gcc/arm-sony-linux/3.4.4/include -pipe  -DCONFIG_ARM -D__ARM__ -march=armv4 -mapcs-32 -c -o cpu/arm926ejs/start.o u-boot-1.1.4/cpu/arm926ejs/start.S
u-boot-1.1.4/cpu/arm926ejs/start.S: Assembler messages:
u-boot-1.1.4/cpu/arm926ejs/start.S:169: Error: undefined symbol CFG_GBL_DATA_SIZE used as an immediate value
u-boot-1.1.4/cpu/arm926ejs/start.S:335: Error: undefined symbol CFG_GBL_DATA_SIZE used as an immediate value
u-boot-1.1.4/cpu/arm926ejs/start.S:336: Error: undefined symbol CFG_GBL_DATA_SIZE used as an immediate value
...
u-boot-1.1.4/cpu/arm926ejs/start.S:391: Error: undefined symbol CFG_GBL_DATA_SIZE used as an immediate value
make: *** [cpu/arm926ejs/start.o] Error 1


Best Regards,

HK.
--
-------------- next part --------------
Index: u-boot-1.1.4/include/configs/omap5912osk.h
===================================================================
--- u-boot-1.1.4.orig/include/configs/omap5912osk.h	2005-12-17 01:39:27.000000000 +0900
+++ u-boot-1.1.4/include/configs/omap5912osk.h	2006-02-01 14:05:13.000000000 +0900
@@ -49,6 +49,7 @@
 /*
  * Size of malloc() pool
  */
+#define CFG_GBL_DATA_SIZE 128
 #define CFG_MALLOC_LEN	(CFG_ENV_SIZE + 128*1024)
 
 /*


More information about the U-Boot mailing list