Skip to content
Commit 91943ff7 authored by Simon Glass's avatar Simon Glass Committed by Tom Rini
Browse files

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: default avatarSimon Glass <sjg@chromium.org>
parent 47aedc29
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment