summaryrefslogtreecommitdiff
path: root/src/api
diff options
context:
space:
mode:
authorDenis Mukhin <[email protected]>2026-06-23 15:06:29 -0700
committerTom Rini <[email protected]>2026-07-03 10:14:25 -0600
commit264ba13f14767fbe7a881d25167d305fa5d7f6b6 (patch)
treec22bbd7df9eaee482da78f257c2e744053f3b977 /src/api
parent683161607af99a12de83eb5702d1f2662a107ac1 (diff)
bootdev: scan boot devices at each priority level
Currently, default 'bootflow scan -lb' will stop booting the board if any of higher-priority bootdevs fail to be hunted even if there are bootdevs of lower priority. For example, if the board has both NVMe (priority 4) and USB MSD devices (priority 5), and if NVMe bootdev hunt fails (in the event of a bad NVMe firmware update), USB (which may be a recovery bootdev) is never hunted automatically, leaving the board at the U-Boot prompt (user intervention is needed, e.g. something like 'bootflow scan usb' to hunt USB). Fix bootdev_next_prio() to scan bootdevs at the lower priority level by not exiting the scan loop early. Keep the existing logging verbosity unchanged and rely on the failing subsystem to provide a suitable diagnostic message. Signed-off-by: Denis Mukhin <[email protected]> Reviewed-by: Simon Glass <[email protected]>
Diffstat (limited to 'src/api')
0 files changed, 0 insertions, 0 deletions