summaryrefslogtreecommitdiff
path: root/test/boot
diff options
context:
space:
mode:
authorSimon Glass <[email protected]>2024-10-19 09:21:50 -0600
committerTom Rini <[email protected]>2024-11-03 21:27:12 -0600
commit5224aa1dadee67ed4c575c4d1c1e2d4c10be0c18 (patch)
treed8f8577da5576bb6bfe9d00c825c7f9013a52e6a /test/boot
parent79b3e9d25b3f96fdf66f9d7dc6a14fdce9a15f93 (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 <[email protected]> Reviewed-by: Mattijs Korpershoek <[email protected]>
Diffstat (limited to 'test/boot')
-rw-r--r--test/boot/bootflow.c2
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) {