[U-Boot] [PATCH v4 3/4] configs: define CONFIG_SPL_SIZE_LIMIT
Tom Rini
trini at konsulko.com
Fri Jun 7 22:05:01 UTC 2019
On Tue, Apr 02, 2019 at 07:19:06PM +0200, Heinrich Schuchardt wrote:
> A new configuration variable CONFIG_SPL_SIZE_LIMIT is introduced to define
> the board specific maximum size for the SPL file.
>
> Use Makefile function size_check() to implement the test.
>
> Depending on the size of CONFIG_SPL_SIZE_LIMIT an error like the following
> is thrown:
>
> spl/u-boot-spl.bin exceeds file size limit:
> limit: 30720 bytes
> actual: 33426 bytes
> excess: 2706 bytes
> make: *** [Makefile:1663: spl/u-boot-spl.bin] Error 1
>
> Signed-off-by: Heinrich Schuchardt <xypron.glpk at gmx.de>
Applied to u-boot/master, thanks!
--
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: not available
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20190607/a5602e4b/attachment.sig>
More information about the U-Boot
mailing list