]> git.baikalelectronics.ru Git - uboot.git/commit
bootstd: Allow bootmeths to be marked as global
authorSimon Glass <sjg@chromium.org>
Sat, 30 Jul 2022 21:52:21 +0000 (15:52 -0600)
committerTom Rini <trini@konsulko.com>
Fri, 12 Aug 2022 12:17:10 +0000 (08:17 -0400)
commit3f6ca107316a2acc02cc611325a41f413a89ef7a
tree4869d2b427ae2bd73839b0d254f593fa3a51f744
parentaa1c8ee762d55817b3dd0ef3ff539b185931442e
bootstd: Allow bootmeths to be marked as global

The current way of handling things like EFI bootmgr is a bit odd, since
that bootmeth handles selection of the bootdev itself. VBE needs to work
the same way, so we should support it properly.

Add a flag that indicates that the bootmeth is global, rather than being
invoked on each bootdev. Provide a helper to read a bootflow from the
bootmeth.

Signed-off-by: Simon Glass <sjg@chromium.org>
boot/Kconfig
boot/bootmeth-uclass.c
boot/bootmeth_efi_mgr.c
cmd/bootmeth.c
include/bootmeth.h
lib/efi_loader/Kconfig