diff options
author | Simon Glass <sjg@chromium.org> | 2023-02-22 09:33:52 -0700 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2023-03-02 17:45:58 -0500 |
commit | da900e527ba30f05ff3a71555883de6e11b71e04 (patch) | |
tree | 2d54a919f39094023fa76008c796fca53f09ca0c /boot | |
parent | b51b1a8442e590cdfcb6b110803e87cdf4783dfd (diff) | |
download | u-boot-da900e527ba30f05ff3a71555883de6e11b71e04.zip u-boot-da900e527ba30f05ff3a71555883de6e11b71e04.tar.gz u-boot-da900e527ba30f05ff3a71555883de6e11b71e04.tar.bz2 |
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>
Diffstat (limited to 'boot')
-rw-r--r-- | boot/Kconfig | 20 | ||||
-rw-r--r-- | boot/Makefile | 3 |
2 files changed, 22 insertions, 1 deletions
diff --git a/boot/Kconfig b/boot/Kconfig index 5f49162..b89916c 100644 --- a/boot/Kconfig +++ b/boot/Kconfig @@ -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 diff --git a/boot/Makefile b/boot/Makefile index b9a1223..88193a1 100644 --- a/boot/Makefile +++ b/boot/Makefile @@ -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 |