[PATCH] spl: use CONFIG_IS_ENABLED(LOAD_FIT_FULL)

Simon Glass sjg at chromium.org
Wed May 19 17:33:59 CEST 2021


On Wed, 19 May 2021 at 08:06, 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: Simon Glass <sjg at chromium.org>


More information about the U-Boot mailing list