mbox series

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

Message ID 1542615470-17992-1-git-send-email-eugen.hristev@microchip.com
Headers show
Series at91: SPL size check for at91 boards | expand

Message

Eugen Hristev Nov. 19, 2018, 8:22 a.m. UTC
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(-)