diff options
author | Simon Glass <sjg@chromium.org> | 2024-10-19 09:21:50 -0600 |
---|---|---|
committer | Simon Glass <sjg@chromium.org> | 2024-11-02 11:13:59 -0600 |
commit | 6e625484f59472663199d1eec4d2e3f226af32b7 (patch) | |
tree | 2ca9d8ca5a22c095d24d9f1fac282fe78a3687c2 /test/boot/bootflow.c | |
parent | cedf9ccaa27828876bc29b1dfc721cea2e5e6dfc (diff) |
test: boot: Use a consistent name for the script bootmeth
In the bootflow tests the script bootmeth is bound with the name
bootmeth_script whereas the others have a name without the bootmeth_
prefix. Adjust it to be the same.
Signed-off-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Mattijs Korpershoek <mkorpershoek@baylibre.com>
Diffstat (limited to 'test/boot/bootflow.c')
-rw-r--r-- | test/boot/bootflow.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/boot/bootflow.c b/test/boot/bootflow.c index 0d4e966892e..8762d21ef3c 100644 --- a/test/boot/bootflow.c +++ b/test/boot/bootflow.c @@ -542,7 +542,7 @@ static int prep_mmc_bootdev(struct unit_test_state *uts, const char *mmc_dev, /* Enable the script bootmeth too */ ut_assertok(uclass_first_device_err(UCLASS_BOOTSTD, &bootstd)); ut_assertok(device_bind(bootstd, DM_DRIVER_REF(bootmeth_2script), - "bootmeth_script", 0, ofnode_null(), &dev)); + "script", 0, ofnode_null(), &dev)); /* Enable the cros bootmeth if needed */ if (IS_ENABLED(CONFIG_BOOTMETH_CROS) && bind_cros_android) { |