boot: Run the EFI bootmgr just before network devices
authorSimon Glass <sjg@chromium.org>
Wed, 15 Oct 2025 15:44:14 +0000 (16:44 +0100)
committerTom Rini <trini@konsulko.com>
Wed, 22 Oct 2025 20:16:56 +0000 (14:16 -0600)
commit6a56d10fdcf1309d2070b62dc15e80a047da971b
tree71eed5c423cb81260e92ac32d37e5395d62c9393
parent060ce66b83e5ed19180103c26e525d85c2a2aa8b
boot: Run the EFI bootmgr just before network devices

At present the EFI bootmgr scans all devices in the system before
deciding which one to boot. Ideally it would use the bootstd iterator
for this, but in the meantime, give it a lower priority, so it runs
just before the network devices.

Note that if there are no hunted network devices hunted, then it will
run at the end, after all bootdevs are exhausted. In other words, it
will always run.

Signed-off-by: Simon Glass <sjg@chromium.org>
boot/bootmeth_efi_mgr.c
test/boot/bootflow.c