]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
cam_enc_4xx: convert to CONFIG_SPL_MAX_FOOTPRINT
authorAlbert ARIBAUD <albert.u.boot@aribaud.net>
Fri, 12 Apr 2013 05:14:31 +0000 (05:14 +0000)
committerAlbert ARIBAUD <albert.u.boot@aribaud.net>
Sun, 14 Apr 2013 14:07:54 +0000 (16:07 +0200)
This target wants to check full SPL size, BSS included.
Remove CONFIG_SPL_MAX_SIZE definition and instead define
CONFIG_SPL_MAX_FOOTPRINT.

Signed-off-by: Albert ARIBAUD <albert.u.boot@aribaud.net>
board/ait/cam_enc_4xx/u-boot-spl.lds
include/configs/cam_enc_4xx.h

index be1027d9a5c62d3417f341842679d280d1231a70..1daa1b3b9090a8d9414bb4ba65cbc87fb83ea542 100644 (file)
@@ -25,7 +25,7 @@
  */
 
 MEMORY { .sram : ORIGIN = CONFIG_SPL_TEXT_BASE,\
-               LENGTH = CONFIG_SPL_MAX_SIZE }
+               LENGTH = CONFIG_SPL_MAX_FOOTPRINT }
 
 OUTPUT_FORMAT("elf32-littlearm", "elf32-littlearm", "elf32-littlearm")
 OUTPUT_ARCH(arm)
index 56528ddaafb2ae074953f80c186ff75921a7dacf..b27551d429947fe875151449e8992eb04dc1a2a5 100644 (file)
 #define CONFIG_SPL_STACK               (0x00010000 + 0x7f00)
 
 #define CONFIG_SPL_TEXT_BASE           0x00000020 /*CONFIG_SYS_SRAM_START*/
-#define CONFIG_SPL_MAX_SIZE            12320
+#define CONFIG_SPL_MAX_FOOTPRINT       12288
 
 #ifndef CONFIG_SPL_BUILD
 #define CONFIG_SYS_TEXT_BASE           0x81080000