[PATCH v5 2/4] Makefile: Add size check for u-boot-with-spl.bin

Tom Rini trini at konsulko.com
Thu Jul 31 18:05:16 CEST 2025


On Wed, Jul 30, 2025 at 02:38:31PM +0200, Philip Oberfichtner wrote:

> Introduce another SIZE_CHECK macro for u-boot-with-spl.bin.
> 
> Note that we cannot reuse BOARD_SIZE_LIMIT here, as this also applies to
> intermediate u-boot*bin images, which, before being compressed, may be
> larger than the final combined image.
> 
> Also SPL_SIZE_LIMIT has to be a separate option, as some boards might
> just want to restrict SPL size while still allowing u-boot-with-spl.bin
> to be bigger.
> 
> Signed-off-by: Philip Oberfichtner <pro at denx.de>

Reviewed-by: Tom Rini <trini at konsulko.com>

-- 
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 228 bytes
Desc: not available
URL: <https://lists.denx.de/pipermail/u-boot/attachments/20250731/59d66a4e/attachment.sig>


More information about the U-Boot mailing list