da850evm, da850_am18xxevm: convert to CONFIG_SPL_MAX_FOOTPRINT
authorAlbert ARIBAUD <albert.u.boot@aribaud.net>
Fri, 12 Apr 2013 05:14:32 +0000 (05:14 +0000)
committerAlbert ARIBAUD <albert.u.boot@aribaud.net>
Sun, 14 Apr 2013 14:08:08 +0000 (16:08 +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/davinci/da8xxevm/u-boot-spl-da850evm.lds
include/configs/da850evm.h

index 2ae5a2c4348225e7469dee94584a90da36d21983..b1b8701811bf4324e77bfa15c46a8ee0be9e5010 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 99b4de72887b45a508a7e72a9eb5263917a5eebe..583568d309afc90734869bb5e07926be34e07882 100644 (file)
 #define CONFIG_SPL_LDSCRIPT    "board/$(BOARDDIR)/u-boot-spl-da850evm.lds"
 #define CONFIG_SPL_STACK       0x8001ff00
 #define CONFIG_SPL_TEXT_BASE   0x80000000
-#define CONFIG_SPL_MAX_SIZE    32768
+#define CONFIG_SPL_MAX_FOOTPRINT       32768
 #endif
 
 /* Load U-Boot Image From MMC */