diff options
author | Sean Anderson <seanga2@gmail.com> | 2023-11-08 11:48:53 -0500 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2023-11-16 13:49:14 -0500 |
commit | cbe86576cbe6344f9e9dafe10e28815a0fac801d (patch) | |
tree | c044c7308bc697b31b710158c8f80bf87bb3e151 /test/image | |
parent | 2e5476b5a7fe7255e58bd6b086c1c6c77350cadd (diff) | |
download | u-boot-cbe86576cbe6344f9e9dafe10e28815a0fac801d.tar.gz u-boot-cbe86576cbe6344f9e9dafe10e28815a0fac801d.tar.bz2 u-boot-cbe86576cbe6344f9e9dafe10e28815a0fac801d.zip |
spl: Convert nor to spl_load
This converts the nor load method to use spl_load. As a result it also
adds support for LOAD_FIT_FULL. Since this is the last caller of
spl_load_legacy_img, it has been removed.
We can't load FITs with external data with SPL_LOAD_FIT_FULL, so disable the
test in that case. No boards enable SPL_NOR_SUPPORT and SPL_LOAD_FIT_FULL, so
this is not a regression.
Signed-off-by: Sean Anderson <seanga2@gmail.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'test/image')
-rw-r--r-- | test/image/spl_load_nor.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/test/image/spl_load_nor.c b/test/image/spl_load_nor.c index a62bb60d25..de5686343b 100644 --- a/test/image/spl_load_nor.c +++ b/test/image/spl_load_nor.c @@ -36,4 +36,6 @@ SPL_IMG_TEST(spl_test_nor, LEGACY, 0); SPL_IMG_TEST(spl_test_nor, LEGACY_LZMA, 0); SPL_IMG_TEST(spl_test_nor, IMX8, 0); SPL_IMG_TEST(spl_test_nor, FIT_INTERNAL, 0); +#if !IS_ENABLED(CONFIG_SPL_LOAD_FIT_FULL) SPL_IMG_TEST(spl_test_nor, FIT_EXTERNAL, 0); +#endif |