diff options
author | Simon Glass | 2022-07-30 15:52:21 -0600 |
---|---|---|
committer | Tom Rini | 2022-08-12 08:17:10 -0400 |
commit | bc06aa035d8f78a713a3d339d45f3d05ef0f0d67 (patch) | |
tree | 4869d2b427ae2bd73839b0d254f593fa3a51f744 /boot/Kconfig | |
parent | a18686cda14cf0281a00fe1cd44c2647d351d4aa (diff) |
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>
Diffstat (limited to 'boot/Kconfig')
-rw-r--r-- | boot/Kconfig | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/boot/Kconfig b/boot/Kconfig index a294ad769ed..b8db8cd7961 100644 --- a/boot/Kconfig +++ b/boot/Kconfig @@ -349,6 +349,13 @@ config BOOTSTD_BOOTCOMMAND standard boot does not support all of the features of distro boot yet. +config BOOTMETH_GLOBAL + bool + help + Add support for global bootmeths. This feature is used by VBE and + EFI bootmgr, since they take full control over which bootdevs are + selected to boot. + config BOOTMETH_DISTRO bool "Bootdev support for distro boot" select PXE_UTILS |