From: Albert ARIBAUD Date: Fri, 12 Apr 2013 05:14:32 +0000 (+0000) Subject: da850evm, da850_am18xxevm: convert to CONFIG_SPL_MAX_FOOTPRINT X-Git-Tag: v2013.04-rc3~1^2~2 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=b7b5f1a16ca66dfdd817e7339f0e263a5b9f2758;p=oweals%2Fu-boot.git da850evm, da850_am18xxevm: 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 --- diff --git a/board/davinci/da8xxevm/u-boot-spl-da850evm.lds b/board/davinci/da8xxevm/u-boot-spl-da850evm.lds index 2ae5a2c434..b1b8701811 100644 --- a/board/davinci/da8xxevm/u-boot-spl-da850evm.lds +++ b/board/davinci/da8xxevm/u-boot-spl-da850evm.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/da850evm.h b/include/configs/da850evm.h index 99b4de7288..583568d309 100644 --- a/include/configs/da850evm.h +++ b/include/configs/da850evm.h @@ -399,7 +399,7 @@ #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 */