ARM: at91: lds: add test for SPL binary size and bss size
authorEugen.Hristev@microchip.com <Eugen.Hristev@microchip.com>
Wed, 28 Nov 2018 09:33:43 +0000 (09:33 +0000)
committerTom Rini <trini@konsulko.com>
Fri, 7 Dec 2018 13:13:44 +0000 (08:13 -0500)
commitbbaeb7ac2200c6505a76f1bf5ba85cfe58fb750b
tree5242c144c162db0ace7ef3a2e2cc31d62a5a9827
parent075b0185b6e785f08391802dccd3293ce8517a93
ARM: at91: lds: add test for SPL binary size and bss size

Add test for the SPL binary size and the bss section size.
This will throw an error at build time if the SPL sections
do not fit in the designated RAM area, thus avoiding oversizing the SPL.

Based on original work by Wenyou Yang.

Signed-off-by: Eugen Hristev <eugen.hristev@microchip.com>
arch/arm/mach-at91/arm926ejs/u-boot-spl.lds