summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlbert ARIBAUD <albert.u.boot@aribaud.net>2013-04-12 05:14:31 +0000
committerAlbert ARIBAUD <albert.u.boot@aribaud.net>2013-04-14 16:07:54 +0200
commite7497891e34efe5cb2b3a3dc7c6c096c012ede28 (patch)
tree5bbaf068e7b0474594bda7a585e387d1d93aadb2
parent6ebc346111b30f854ead1c06a0afb37f8c704ce4 (diff)
downloadu-boot-imx-e7497891e34efe5cb2b3a3dc7c6c096c012ede28.zip
u-boot-imx-e7497891e34efe5cb2b3a3dc7c6c096c012ede28.tar.gz
u-boot-imx-e7497891e34efe5cb2b3a3dc7c6c096c012ede28.tar.bz2
cam_enc_4xx: convert to CONFIG_SPL_MAX_FOOTPRINT
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>
-rw-r--r--board/ait/cam_enc_4xx/u-boot-spl.lds2
-rw-r--r--include/configs/cam_enc_4xx.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/board/ait/cam_enc_4xx/u-boot-spl.lds b/board/ait/cam_enc_4xx/u-boot-spl.lds
index be1027d..1daa1b3 100644
--- a/board/ait/cam_enc_4xx/u-boot-spl.lds
+++ b/board/ait/cam_enc_4xx/u-boot-spl.lds
@@ -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)
diff --git a/include/configs/cam_enc_4xx.h b/include/configs/cam_enc_4xx.h
index 56528dd..b27551d 100644
--- a/include/configs/cam_enc_4xx.h
+++ b/include/configs/cam_enc_4xx.h
@@ -230,7 +230,7 @@
#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