spl: Convert NVMe to spl_load
This converts the blk load method (used exclusively by NVMe) to use spl_load. As a consequence, it also adds support for LOAD_FIT_FULL and IMX images. Signed-off-by: Sean Anderson <seanga2@gmail.com> Reviewed-by: Simon Glass <sjg@chromium.org>
This commit is contained in:
@@ -395,6 +395,8 @@ static int spl_test_blk(struct unit_test_state *uts, const char *test_name,
|
||||
return spl_test_mmc_fs(uts, test_name, type, create_ext2, true);
|
||||
}
|
||||
SPL_IMG_TEST(spl_test_blk, LEGACY, DM_FLAGS);
|
||||
SPL_IMG_TEST(spl_test_blk, LEGACY_LZMA, DM_FLAGS);
|
||||
SPL_IMG_TEST(spl_test_blk, IMX8, DM_FLAGS);
|
||||
SPL_IMG_TEST(spl_test_blk, FIT_EXTERNAL, DM_FLAGS);
|
||||
SPL_IMG_TEST(spl_test_blk, FIT_INTERNAL, DM_FLAGS);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user