aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2022-04-24 23:31:01 -0600
committerTom Rini <trini@konsulko.com>2022-04-25 10:00:03 -0400
commit9bd2f62d12a53370822f0514ccc32e45209abc50 (patch)
tree588facd14019a1e0a4ffd5000bb5f61f470931e2
parent4e0710a2d007032c8a82ef3af45a0e6e9176a2a7 (diff)
downloadu-boot-9bd2f62d12a53370822f0514ccc32e45209abc50.zip
u-boot-9bd2f62d12a53370822f0514ccc32e45209abc50.tar.gz
u-boot-9bd2f62d12a53370822f0514ccc32e45209abc50.tar.bz2
test: fastboot: Avoid using mmc1
The bootflow tests need to use an MMC with an associated backing file containing a filesystem. Update the fastboot tests to cope with this. Signed-off-by: Simon Glass <sjg@chromium.org>
-rw-r--r--test/dm/fastboot.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/dm/fastboot.c b/test/dm/fastboot.c
index e7f8c36..758538d 100644
--- a/test/dm/fastboot.c
+++ b/test/dm/fastboot.c
@@ -81,9 +81,9 @@ static int dm_test_fastboot_mmc_part(struct unit_test_state *uts)
&part_info, response));
ut_asserteq(0, fastboot_mmc_get_part_info("0.0:0", &fb_dev_desc,
&part_info, response));
- ut_asserteq(0, fastboot_mmc_get_part_info("1", &fb_dev_desc,
+ ut_asserteq(0, fastboot_mmc_get_part_info("2", &fb_dev_desc,
&part_info, response));
- ut_asserteq(0, fastboot_mmc_get_part_info("1.0", &fb_dev_desc,
+ ut_asserteq(0, fastboot_mmc_get_part_info("2.0", &fb_dev_desc,
&part_info, response));
ut_asserteq(1, fastboot_mmc_get_part_info(":1", &fb_dev_desc,
&part_info, response));