u-boot/test/boot
Simon Glass 47aedc29dc bootstd: Switch bootdev scanning to use labels
At present we set up the bootdev order at the start, then scan the
bootdevs one by one.

However this approach cannot be used with hunters, since the bootdevs may
not exist until the hunter is used. Nor can we just run all the hunters at
the start, since that violate's U-Boot's 'lazy init' requirement. It also
increases boot time.

So we need to adjust the algorithm to scan by labels instead. As a first
step, drop the dev_order[] array in favour of a list of labels. Update the
name of bootdev_setup_iter_order() to better reflect what it does.

Update some related comments and log messages. Also disable a few tests
until a later commit where we can use them.

Signed-off-by: Simon Glass <sjg@chromium.org>
2023-01-23 18:11:41 -05:00
..
bootdev.c bootstd: Switch bootdev scanning to use labels 2023-01-23 18:11:41 -05:00
bootflow.c bootstd: Switch bootdev scanning to use labels 2023-01-23 18:11:41 -05:00
bootmeth.c test: Update tests to use the skip feature 2022-10-31 11:02:44 -04:00
bootstd_common.c bootstd: Allow hunting for a bootdev by label 2023-01-23 18:11:41 -05:00
bootstd_common.h bootstd: Add a hunter for the extension feature 2023-01-23 18:11:41 -05:00
expo.c expo: Add basic tests 2023-01-16 18:26:50 -05:00
image.c image: Add the concept of a phase to FIT 2022-10-31 11:02:44 -04:00
Makefile expo: Add basic tests 2023-01-16 18:26:50 -05:00
vbe_fixup.c vbe: Use a manual test 2022-10-31 11:04:00 -04:00
vbe_simple.c vbe: Add info about the VBE device to the fwupd node 2022-10-31 11:04:00 -04:00