]> git.dujemihanovic.xyz Git - u-boot.git/commit
bootstd: Add a new pre-scan priority for bootdevs
authorSimon Glass <sjg@chromium.org>
Tue, 17 Jan 2023 17:48:08 +0000 (10:48 -0700)
committerTom Rini <trini@konsulko.com>
Mon, 23 Jan 2023 23:11:41 +0000 (18:11 -0500)
commiteacc261178b9c8024cb8de89ee4ca6c68d80d96a
treee40fcef678725303048937f4b2d5a393c8613be1
parent79a7d4a61ff34c7745811c7b3090a60b230c2ef9
bootstd: Add a new pre-scan priority for bootdevs

We need extensions to be set up before we start trying to boot any of the
bootdevs. Add a new priority before all the others for tht sort of thing.
Also add a 'none' option, so that the first one is not 0.

While we are here, comment enum bootdev_prio_t fully and expand the test
for the 'bootdev hunt' command.

Signed-off-by: Simon Glass <sjg@chromium.org>
12 files changed:
boot/bootdev-uclass.c
doc/develop/bootstd.rst
drivers/block/ide.c
drivers/mmc/mmc_bootdev.c
drivers/mtd/spi/sf_bootdev.c
drivers/nvme/nvme-uclass.c
drivers/scsi/scsi_bootdev.c
drivers/usb/host/usb_bootdev.c
drivers/virtio/virtio-uclass.c
include/bootdev.h
net/eth_bootdev.c
test/boot/bootdev.c