]> git.ipfire.org Git - thirdparty/u-boot.git/blobdiff - test/boot/bootflow.c
Merge tag 'v2023.10-rc4' into next
[thirdparty/u-boot.git] / test / boot / bootflow.c
index 1ff2320c03653e4b1cfa97efe5242fa9e48d1cdb..f5b2059140acae8f5a9d463ebf99b9c3462e3106 100644 (file)
@@ -28,7 +28,7 @@
 DECLARE_GLOBAL_DATA_PTR;
 
 extern U_BOOT_DRIVER(bootmeth_cros);
-extern U_BOOT_DRIVER(bootmeth_script);
+extern U_BOOT_DRIVER(bootmeth_2script);
 
 static int inject_response(struct unit_test_state *uts)
 {
@@ -532,7 +532,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_script),
+       ut_assertok(device_bind(bootstd, DM_DRIVER_REF(bootmeth_2script),
                                "bootmeth_script", 0, ofnode_null(), &dev));
 
        /* Enable the cros bootmeth if needed */