[PATCH v2 0/3] bootdev: few fixes for automatic boot

dmukhin at ford.com dmukhin at ford.com
Tue Jun 16 08:36:03 CEST 2026


This mini-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.

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     | 18 ++++++++++
 drivers/block/sandbox-bootdev.c | 64 +++++++++++++++++++++++++++++++++
 include/bootdev.h               |  8 ++---
 include/sandbox_host.h          | 17 +++++++++
 test/boot/bootflow.c            | 51 ++++++++++++++++++++++++++
 7 files changed, 155 insertions(+), 7 deletions(-)
 create mode 100644 drivers/block/sandbox-bootdev.c

-- 
2.54.0



More information about the U-Boot mailing list