spl: Convert spi to spl_load
This converts the spi load method to use spl_load. The address used for LOAD_FIT_FULL may be different, but there are no in-tree users of that config. Since payload_offs is only used without OS_BOOT, we defer its initialization. Signed-off-by: Sean Anderson <seanga2@gmail.com> Reviewed-by: Simon Glass <sjg@chromium.org>
This commit is contained in:
@@ -34,6 +34,7 @@ static int spl_test_spi(struct unit_test_state *uts, const char *test_name,
|
||||
spl_test_spi_write_image);
|
||||
}
|
||||
SPL_IMG_TEST(spl_test_spi, LEGACY, DM_FLAGS);
|
||||
SPL_IMG_TEST(spl_test_spi, LEGACY_LZMA, DM_FLAGS);
|
||||
SPL_IMG_TEST(spl_test_spi, IMX8, DM_FLAGS);
|
||||
SPL_IMG_TEST(spl_test_spi, FIT_INTERNAL, DM_FLAGS);
|
||||
#if !IS_ENABLED(CONFIG_SPL_LOAD_FIT_FULL)
|
||||
|
Reference in New Issue
Block a user