]> git.kernelconcepts.de Git - karo-tx-uboot.git/commit
ARM: fix CONFIG_SPL_MAX_SIZE semantics
authorAlbert ARIBAUD <albert.u.boot@aribaud.net>
Fri, 12 Apr 2013 05:14:30 +0000 (05:14 +0000)
committerAlbert ARIBAUD <albert.u.boot@aribaud.net>
Sun, 14 Apr 2013 14:07:14 +0000 (16:07 +0200)
commit6ebc346111b30f854ead1c06a0afb37f8c704ce4
tree1a65f09da886a6a6cfce548e983104764d636647
parent345be0b26734c560e8b33531ab21a1272179c5c3
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>
README
arch/arm/cpu/u-boot-spl.lds
arch/arm/cpu/u-boot.lds
include/configs/tegra-common.h