[PATCH] spl: use CONFIG_IS_ENABLED(LOAD_FIT_FULL)

Tom Rini trini at konsulko.com
Fri Jul 23 14:33:36 CEST 2021


On Wed, May 19, 2021 at 03:05:53PM +0100, John Keeping wrote:

> It's possible that LOAD_FIT_FULL will have different values for TPL and
> SPL, in which case just checking CONFIG_SPL_LOAD_FIT_FULL causes this to
> be compiled in to the TPL even though functions and struct members it
> depends on are not.
> 
> Use CONFIG_IS_ENABLED() to ensure the correct TPL/SPL variant is
> checked.
> 
> Signed-off-by: John Keeping <john at metanate.com>
> Reviewed-by: Bin Meng <bmeng.cn at gmail.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/20210723/85097170/attachment.sig>


More information about the U-Boot mailing list