diff options
author | Albert ARIBAUD <albert.u.boot@aribaud.net> | 2013-04-12 05:14:30 +0000 |
---|---|---|
committer | Albert ARIBAUD <albert.u.boot@aribaud.net> | 2013-04-14 16:07:14 +0200 |
commit | 6ebc346111b30f854ead1c06a0afb37f8c704ce4 (patch) | |
tree | 1a65f09da886a6a6cfce548e983104764d636647 /include | |
parent | 345be0b26734c560e8b33531ab21a1272179c5c3 (diff) | |
download | u-boot-imx-6ebc346111b30f854ead1c06a0afb37f8c704ce4.zip u-boot-imx-6ebc346111b30f854ead1c06a0afb37f8c704ce4.tar.gz u-boot-imx-6ebc346111b30f854ead1c06a0afb37f8c704ce4.tar.bz2 |
ARM: fix CONFIG_SPL_MAX_SIZE semantics
Remove SPL-related ASSERT() in arch/arm/cpu/u-boot.lds
as this file is never used for SPL builds.
Rewrite the ASSERT() in arch/arm/cpu/u-boot-spl.lds
to separately test image (text,data,rodata...) size,
BSS size, and full footprint each against its own max,
and make Tegra boards check full footprint.
Also, output section mmutable is not used in SPL builds.
Remove it.
Finally, update README regarding the (now homogeneous)
semantics of CONFIG_SPL_[BSS_]MAX_SIZE and add the new
CONFIG_SPL_MAX_FOOTPRINT macro.
Signed-off-by: Albert ARIBAUD <albert.u.boot@aribaud.net>
Reported-by: Benoît Thébaudeau <benoit.thebaudeau@advansee.com>
Diffstat (limited to 'include')
-rw-r--r-- | include/configs/tegra-common.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/configs/tegra-common.h b/include/configs/tegra-common.h index 036ded0..e9241b8 100644 --- a/include/configs/tegra-common.h +++ b/include/configs/tegra-common.h @@ -158,7 +158,7 @@ #define CONFIG_SPL_RAM_DEVICE #define CONFIG_SPL_BOARD_INIT #define CONFIG_SPL_NAND_SIMPLE -#define CONFIG_SPL_MAX_SIZE (CONFIG_SYS_TEXT_BASE - \ +#define CONFIG_SPL_MAX_FOOTPRINT (CONFIG_SYS_TEXT_BASE - \ CONFIG_SPL_TEXT_BASE) #define CONFIG_SYS_SPL_MALLOC_SIZE 0x00010000 |