[PATCH] spl: use CONFIG_IS_ENABLED(LOAD_FIT_FULL)

Bin Meng bmeng.cn at gmail.com
Wed May 19 16:30:16 CEST 2021


On Wed, May 19, 2021 at 10:06 PM John Keeping <john at metanate.com> 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>
> ---
>  common/spl/spl.c | 4 ++--
>  1 file changed, 2 insertions(+), 2 deletions(-)
>

Reviewed-by: Bin Meng <bmeng.cn at gmail.com>


More information about the U-Boot mailing list