summaryrefslogtreecommitdiff
path: root/test/image
diff options
context:
space:
mode:
authorSean Anderson <seanga2@gmail.com>2023-11-08 11:48:49 -0500
committerTom Rini <trini@konsulko.com>2023-11-16 13:49:14 -0500
commit682184e9b9a6f67b108209651ad2ce90aae9ec9d (patch)
tree79c22b0938f61ffb7e0e28b55eccfe617523e55c /test/image
parentb8ed72256748119d392c63c6fa8b1f8bb156fd38 (diff)
downloadu-boot-682184e9b9a6f67b108209651ad2ce90aae9ec9d.tar.gz
u-boot-682184e9b9a6f67b108209651ad2ce90aae9ec9d.tar.bz2
u-boot-682184e9b9a6f67b108209651ad2ce90aae9ec9d.zip
spl: Convert fat to spl_load
This converts the fat loader to use spl_load. Some platforms are very tight on space, so we take care to only include the code we really need. 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_fs.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/test/image/spl_load_fs.c b/test/image/spl_load_fs.c
index 01559e98c4..333df2dfb5 100644
--- a/test/image/spl_load_fs.c
+++ b/test/image/spl_load_fs.c
@@ -425,8 +425,7 @@ static int spl_test_mmc(struct unit_test_state *uts, const char *test_name,
if (spl_test_mmc_fs(uts, test_name, type, create_ext2, false))
return CMD_RET_FAILURE;
- if (type != IMX8 && type != LEGACY_LZMA &&
- spl_test_mmc_fs(uts, test_name, type, create_fat, false))
+ if (spl_test_mmc_fs(uts, test_name, type, create_fat, false))
return CMD_RET_FAILURE;
if (type == LEGACY_LZMA)