payloads/tianocore: Add option to use Escape for Boot Manager
Add TIANOCORE_BOOT_MANAGER_ESCAPE which, when enabled, will use Escape as the hot-key to access the Boot Manager. This replaces the default key of F2. Signed-off-by: Sean Rhodes <sean@starlabs.systems> Change-Id: I1e60d116367542f55f0ffa241a6132e4faabe446 Reviewed-on: https://review.coreboot.org/c/coreboot/+/61757 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Stefan Reinauer <stefan.reinauer@coreboot.org>
This commit is contained in:
parent
b2c681fc4a
commit
c8decce31c
|
@ -149,6 +149,7 @@ $(obj)/UEFIPAYLOAD.fd tianocore: $(DOTCONFIG)
|
||||||
CONFIG_TIANOCORE_RELEASE=$(CONFIG_TIANOCORE_RELEASE) \
|
CONFIG_TIANOCORE_RELEASE=$(CONFIG_TIANOCORE_RELEASE) \
|
||||||
CONFIG_TIANOCORE_ABOVE_4G_MEMORY=$(CONFIG_TIANOCORE_ABOVE_4G_MEMORY) \
|
CONFIG_TIANOCORE_ABOVE_4G_MEMORY=$(CONFIG_TIANOCORE_ABOVE_4G_MEMORY) \
|
||||||
CONFIG_TIANOCORE_BOOTSPLASH_FILE=$(CONFIG_TIANOCORE_BOOTSPLASH_FILE) \
|
CONFIG_TIANOCORE_BOOTSPLASH_FILE=$(CONFIG_TIANOCORE_BOOTSPLASH_FILE) \
|
||||||
|
CONFIG_TIANOCORE_BOOT_MANAGER_ESCAPE=$(CONFIG_TIANOCORE_BOOT_MANAGER_ESCAPE) \
|
||||||
CONFIG_TIANOCORE_BOOT_TIMEOUT=$(CONFIG_TIANOCORE_BOOT_TIMEOUT) \
|
CONFIG_TIANOCORE_BOOT_TIMEOUT=$(CONFIG_TIANOCORE_BOOT_TIMEOUT) \
|
||||||
CONFIG_TIANOCORE_CBMEM_LOGGING=$(CONFIG_TIANOCORE_CBMEM_LOGGING) \
|
CONFIG_TIANOCORE_CBMEM_LOGGING=$(CONFIG_TIANOCORE_CBMEM_LOGGING) \
|
||||||
CONFIG_TIANOCORE_USE_8254_TIMER=$(CONFIG_TIANOCORE_USE_8254_TIMER) \
|
CONFIG_TIANOCORE_USE_8254_TIMER=$(CONFIG_TIANOCORE_USE_8254_TIMER) \
|
||||||
|
|
|
@ -119,6 +119,13 @@ config TIANOCORE_BOOTSPLASH_FILE
|
||||||
If an absolute path is not given, the path will assumed to be
|
If an absolute path is not given, the path will assumed to be
|
||||||
relative to the coreboot root directory.
|
relative to the coreboot root directory.
|
||||||
|
|
||||||
|
config TIANOCORE_BOOT_MANAGER_ESCAPE
|
||||||
|
bool "Use Escape key for Boot Manager"
|
||||||
|
default n
|
||||||
|
help
|
||||||
|
Use Escape as the hot-key to access the Boot Manager. This replaces
|
||||||
|
the default key of F2.
|
||||||
|
|
||||||
config TIANOCORE_BOOT_TIMEOUT
|
config TIANOCORE_BOOT_TIMEOUT
|
||||||
int
|
int
|
||||||
default 2
|
default 2
|
||||||
|
|
|
@ -28,6 +28,10 @@ endif
|
||||||
ifneq ($(CONFIG_TIANOCORE_BOOTSPLASH_FILE),)
|
ifneq ($(CONFIG_TIANOCORE_BOOTSPLASH_FILE),)
|
||||||
BUILD_STR += -D BOOTSPLASH_IMAGE=TRUE
|
BUILD_STR += -D BOOTSPLASH_IMAGE=TRUE
|
||||||
endif
|
endif
|
||||||
|
# BOOT_MANAGER_ESCAPE = FALSE
|
||||||
|
ifeq ($(CONFIG_TIANOCORE_BOOT_MANAGER_ESCAPE),y)
|
||||||
|
BUILD_STR += -D BOOT_MANAGER_ESCAPE=TRUE
|
||||||
|
endif
|
||||||
# BUILD_TARGETS = DEBUG
|
# BUILD_TARGETS = DEBUG
|
||||||
ifeq ($(CONFIG_TIANOCORE_RELEASE),y)
|
ifeq ($(CONFIG_TIANOCORE_RELEASE),y)
|
||||||
BUILD_STR += -b RELEASE
|
BUILD_STR += -b RELEASE
|
||||||
|
|
Loading…
Reference in New Issue