mirror of
https://xff.cz/git/u-boot/
synced 2025-09-27 05:21:16 +02:00
bootstd: Allow scanning a single bootdev label
We want to support scanning a single label, like 'mmc' or 'usb0'. Add this feature by plumbing the label through to the iterator, setting a flag to indicate that only siblings of the initial device should be used. This means that scanning a bootdev by its name is not supported anymore. That feature doesn't seem very useful in practice, so it is no great loss. Add a test for bootdev_find_by_any() while we are here. Signed-off-by: Simon Glass <sjg@chromium.org>
This commit is contained in:
@@ -626,7 +626,7 @@ static int bootdev_test_next_prio(struct unit_test_state *uts)
|
||||
struct udevice *dev;
|
||||
int ret;
|
||||
|
||||
sandbox_set_eth_enable(false);
|
||||
test_set_eth_enable(false);
|
||||
test_set_skip_delays(true);
|
||||
|
||||
/* get access to the used hunters */
|
||||
|
Reference in New Issue
Block a user