[PATCH v3 0/3] bootdev: few fixes for automatic boot
dmukhin at ford.com
dmukhin at ford.com
Sun Jun 21 07:14:42 CEST 2026
This series addresses few findings in bootdev code.
Patch 1 some typo fixes in bootdev header.
Patch 2 fix for automatic boots in case higher-priority bootdevs fail
to be hunted.
Patch 3 adds unit test for patch 2.
CI: https://github.com/u-boot/u-boot/pull/991
Denis Mukhin (3):
bootdev: fix typos
bootdev: scan boot devices at each priority level
test: bootdev: scan with a broken high-priority device
boot/bootdev-uclass.c | 2 --
drivers/block/Makefile | 2 +-
drivers/block/host-uclass.c | 17 +++++++++
drivers/block/sandbox-bootdev.c | 62 +++++++++++++++++++++++++++++++++
include/bootdev.h | 8 ++---
include/sandbox_host.h | 18 ++++++++++
test/boot/bootdev.c | 25 +++++++------
test/boot/bootflow.c | 51 +++++++++++++++++++++++++++
test/boot/bootstd_common.h | 2 +-
9 files changed, 168 insertions(+), 19 deletions(-)
create mode 100644 drivers/block/sandbox-bootdev.c
--
2.54.0
More information about the U-Boot
mailing list