commit | 6e6f2040f51c11f28556c6b92616655de4314d2b | [log] [tgz] |
---|---|---|
author | John Keeping <john@metanate.com> | Wed May 19 15:05:53 2021 +0100 |
committer | Tom Rini <trini@konsulko.com> | Fri Jul 23 07:13:24 2021 -0400 |
tree | 269290d8969172427c90acf359216b31db5396d4 | |
parent | 052c3a1f1ff38f83eeffead9502579503dbcb2d0 [diff] |
spl: use CONFIG_IS_ENABLED(LOAD_FIT_FULL) 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@metanate.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> Reviewed-by: Simon Glass <sjg@chromium.org>