[PATCH] Kconfig: Use hex values for CONFIG_{SPL,TPL}_SIZE_LIMIT

Tom Rini trini at konsulko.com
Fri Oct 23 02:26:40 CEST 2020


On Fri, Sep 25, 2020 at 09:12:56PM +0300, Ovidiu Panait wrote:

> CONFIG_{SPL,TPL}_SIZE_LIMIT are defined as hex (SPL_SIZE_LIMIT was
> converted in b51882d0 ("spl: Convert CONFIG_SPL_SIZE_LIMIT to hex"), but
> there are still places that reference integer values. Change those to hex
> as well. Also, update the Makefile to check for 0x0 instead of 0.
> 
> This also fixes the following build error when CONFIG_SPL_SIZE_LIMIT
> is set by menuconfig to 0x0:
> ...
> spl/u-boot-spl.bin exceeds file size limit:
>   limit:  0 bytes
>   actual: 0x80f0 bytes
>   excess: 0x80f0 bytes
> 
> Signed-off-by: Ovidiu Panait <ovidiu.panait at windriver.com>
> Reviewed-by: Simon Glass <sjg at chromium.org>

Applied to u-boot/master, thanks!

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


More information about the U-Boot mailing list