payloads/tianocore: Add option to use follow BGRT spec
Adds TIANOCORE_FOLLOW_BGRT_SPEC which, when enabled, will follow the BGRT Specification implemented by Microsoft and the Boot Logo will be vertically centered 38.2% from the top of the display. Signed-off-by: Sean Rhodes <sean@starlabs.systems> Change-Id: If508166fe657d1cc032dd09a0fa231c7b60d9846 Reviewed-on: https://review.coreboot.org/c/coreboot/+/61758 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Stefan Reinauer <stefan.reinauer@coreboot.org>
This commit is contained in:
parent
c8decce31c
commit
14d67b3515
|
@ -152,6 +152,7 @@ $(obj)/UEFIPAYLOAD.fd tianocore: $(DOTCONFIG)
|
||||||
CONFIG_TIANOCORE_BOOT_MANAGER_ESCAPE=$(CONFIG_TIANOCORE_BOOT_MANAGER_ESCAPE) \
|
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_FOLLOW_BGRT_SPEC=$(CONFIG_TIANOCORE_FOLLOW_BGRT_SPEC) \
|
||||||
CONFIG_TIANOCORE_USE_8254_TIMER=$(CONFIG_TIANOCORE_USE_8254_TIMER) \
|
CONFIG_TIANOCORE_USE_8254_TIMER=$(CONFIG_TIANOCORE_USE_8254_TIMER) \
|
||||||
CONFIG_ECAM_MMCONF_BASE_ADDRESS=$(CONFIG_ECAM_MMCONF_BASE_ADDRESS) \
|
CONFIG_ECAM_MMCONF_BASE_ADDRESS=$(CONFIG_ECAM_MMCONF_BASE_ADDRESS) \
|
||||||
GCC_CC_x86_32=$(GCC_CC_x86_32) \
|
GCC_CC_x86_32=$(GCC_CC_x86_32) \
|
||||||
|
|
|
@ -142,6 +142,14 @@ config TIANOCORE_CBMEM_LOGGING
|
||||||
this option, especially if using a debug (vs release) build.
|
this option, especially if using a debug (vs release) build.
|
||||||
Selecting this option will increase the payload size in CBFS by 0x10000.
|
Selecting this option will increase the payload size in CBFS by 0x10000.
|
||||||
|
|
||||||
|
config TIANOCORE_FOLLOW_BGRT_SPEC
|
||||||
|
bool "Center logo 38.2% from the top of screen"
|
||||||
|
default n
|
||||||
|
help
|
||||||
|
Follow the BGRT Specification implemented by Microsoft and
|
||||||
|
the Boot Logo will be vertically centered 38.2% from the
|
||||||
|
top of the display.
|
||||||
|
|
||||||
endif
|
endif
|
||||||
|
|
||||||
if TIANOCORE_COREBOOTPAYLOAD
|
if TIANOCORE_COREBOOTPAYLOAD
|
||||||
|
|
|
@ -36,6 +36,10 @@ endif
|
||||||
ifeq ($(CONFIG_TIANOCORE_RELEASE),y)
|
ifeq ($(CONFIG_TIANOCORE_RELEASE),y)
|
||||||
BUILD_STR += -b RELEASE
|
BUILD_STR += -b RELEASE
|
||||||
endif
|
endif
|
||||||
|
# FOLLOW_BGRT_SPEC = FALSE
|
||||||
|
ifeq ($(CONFIG_TIANOCORE_FOLLOW_BGRT_SPEC),y)
|
||||||
|
BUILD_STR += -D FOLLOW_BGRT_SPEC=TRUE
|
||||||
|
endif
|
||||||
# PLATFORM_BOOT_TIMEOUT = 3
|
# PLATFORM_BOOT_TIMEOUT = 3
|
||||||
ifneq ($(TIANOCORE_BOOT_TIMEOUT),)
|
ifneq ($(TIANOCORE_BOOT_TIMEOUT),)
|
||||||
BUILD_STR += -D PLATFORM_BOOT_TIMEOUT=$(CONFIG_TIANOCORE_BOOT_TIMEOUT)
|
BUILD_STR += -D PLATFORM_BOOT_TIMEOUT=$(CONFIG_TIANOCORE_BOOT_TIMEOUT)
|
||||||
|
|
Loading…
Reference in New Issue