[U-Boot] [PATCH 0/4] at91: SPL size check for at91 boards

Eugen.Hristev at microchip.com Eugen.Hristev at microchip.com
Mon Nov 19 08:22:55 UTC 2018


This is a review of the patch
[U-Boot,RFC] ARM: at91: lds: add test SPL binary size and bbs size

Commit:
	ARM: at91: lds: add test SPL binary size and bbs size
will check for the SPL size and bss to see if it can fit the known RAM area
where it's supposed to be loaded. If the size exceeds, it will print an error
in build.
However, some platforms already have the SPL broken: it is too big for the RAM
area. These platforms would fail to build if we enable this SPL size check.
So, I made the commits for these defconfigs to disable SPL before adding the
actual check (for bisectability, do not break any builds in between the series
commits).

In short, first three commits will prepare defconfigs for the SPL check and the
last commit will implement the actual size checks.

Eugen Hristev (2):
  configs: corvus_defconfig: Remove SPL
  configs: wb45n_defconfig: Remove SPL

Wenyou Yang (2):
  configs: picosam9g45_defconfig: Remove SPL
  ARM: at91: lds: add test SPL binary size and bbs size

 arch/arm/mach-at91/arm926ejs/u-boot-spl.lds | 10 ++++++++++
 configs/corvus_defconfig                    |  8 --------
 configs/picosam9g45_defconfig               | 10 ----------
 configs/wb45n_defconfig                     |  6 ------
 4 files changed, 10 insertions(+), 24 deletions(-)

-- 
2.7.4



More information about the U-Boot mailing list