boot: Add Kconfigs for BOOTMETH_VBE_REQUEST

Allow this to be enabled separately in U-Boot proper and in SPL, since
it is not needed in SPL.

Signed-off-by: Simon Glass <sjg@chromium.org>
This commit is contained in:
Simon Glass 2023-02-22 09:33:52 -07:00 committed by Tom Rini
parent b51b1a8442
commit da900e527b
2 changed files with 22 additions and 1 deletions

View file

@ -528,6 +528,26 @@ config VPL_BOOTMETH_VBE
if BOOTMETH_VBE
config BOOTMETH_VBE_REQUEST
bool "Support for serving VBE OS requests"
default y
help
Enables support for looking that the requests made by the
Operating System being booted. These requests result in additions to
the device tree /chosen node, added during the device tree fixup
phase.
config SPL_BOOTMETH_VBE_REQUEST
bool "Support for serving VBE OS requests (SPL)"
depends on SPL
help
Enables support for looking that the requests made by the
Operating System being booted. These requests result in additions to
the device tree /chosen node, added during the device tree fixup
phase.
This is only useful if you are booting an OS direct from SPL.
config BOOTMETH_VBE_SIMPLE
bool "Bootdev support for VBE 'simple' method"
default y

View file

@ -52,7 +52,8 @@ endif
obj-$(CONFIG_$(SPL_TPL_)EXPO) += expo.o scene.o scene_menu.o
obj-$(CONFIG_$(SPL_TPL_)BOOTMETH_VBE) += vbe.o vbe_request.o
obj-$(CONFIG_$(SPL_TPL_)BOOTMETH_VBE) += vbe.o
obj-$(CONFIG_$(SPL_TPL_)BOOTMETH_VBE_REQUEST) += vbe_request.o
obj-$(CONFIG_$(SPL_TPL_)BOOTMETH_VBE_SIMPLE) += vbe_simple.o
obj-$(CONFIG_$(SPL_TPL_)BOOTMETH_VBE_SIMPLE_FW) += vbe_simple_fw.o
obj-$(CONFIG_$(SPL_TPL_)BOOTMETH_VBE_SIMPLE_OS) += vbe_simple_os.o