diff options
author | Simon Glass <sjg@chromium.org> | 2023-08-19 16:49:35 -0600 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2023-08-28 15:59:22 -0400 |
commit | 5986d46f8efb20532d494242fccb051267f92e1a (patch) | |
tree | f63b239fb16ae1f72580d96ae8304e40364d2ef3 /test | |
parent | d389efc44898f9b5b3d07e810253b6fb73c55e3c (diff) | |
download | u-boot-5986d46f8efb20532d494242fccb051267f92e1a.tar.gz u-boot-5986d46f8efb20532d494242fccb051267f92e1a.tar.bz2 u-boot-5986d46f8efb20532d494242fccb051267f92e1a.zip |
bootstd: Adjust the default bootmeth order
The existing distro scripts check extlinux and scripts before EFI. Adjust
the default ordering to do the same, to avoid breaking existing flows.
Add some documentation, mentioning that this order will likely change in
future.
Signed-off-by: Simon Glass <sjg@chromium.org>
Reported-by: Da Xue <da@libre.computer>
Diffstat (limited to 'test')
-rw-r--r-- | test/boot/bootflow.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/boot/bootflow.c b/test/boot/bootflow.c index 8a4e090e9b..1c91a942e9 100644 --- a/test/boot/bootflow.c +++ b/test/boot/bootflow.c @@ -27,7 +27,7 @@ DECLARE_GLOBAL_DATA_PTR; -extern U_BOOT_DRIVER(bootmeth_script); +extern U_BOOT_DRIVER(bootmeth_2script); static int inject_response(struct unit_test_state *uts) { @@ -525,7 +525,7 @@ static int prep_mmc4_bootdev(struct unit_test_state *uts) /* 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)); /* Change the order to include mmc4 */ |