smdk5250, snow: convert to CONFIG_SPL_MAX_FOOTPRINT
authorAlbert ARIBAUD <albert.u.boot@aribaud.net>
Fri, 12 Apr 2013 05:14:33 +0000 (05:14 +0000)
committerAlbert ARIBAUD <albert.u.boot@aribaud.net>
Sun, 14 Apr 2013 14:08:29 +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/samsung/smdk5250/smdk5250-uboot-spl.lds
include/configs/exynos5250-dt.h

index 7df0a1d3f82a202292c5413d6f27ac9d0d2564c5..c0a760208959d1bef1448ffa46c75f6e0ca7205a 100644 (file)
@@ -26,7 +26,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 496a1947b2c785b78b6188ca2c138a0156bf5133..3aed696c2e421c45a5d8c1b988bc7028b02356ff 100644 (file)
 /* specific .lds file */
 #define CONFIG_SPL_LDSCRIPT    "board/samsung/smdk5250/smdk5250-uboot-spl.lds"
 #define CONFIG_SPL_TEXT_BASE   0x02023400
-#define CONFIG_SPL_MAX_SIZE    (14 * 1024)
+#define CONFIG_SPL_MAX_FOOTPRINT       (14 * 1024)
 
 #define CONFIG_BOOTCOMMAND     "mmc read 40007000 451 2000; bootm 40007000"