Sean Rhodes has uploaded this change for review. ( https://review.coreboot.org/c/coreboot/+/60763 )
Change subject: payloads/tianocore: Add option to follow BGRT spec ......................................................................
payloads/tianocore: Add option to follow BGRT spec
Follow the BGRT Specification implemented by Microsoft and centre the Boot Logo 38.2% from the top of screen.
Signed-off-by: Sean Rhodes sean@starlabs.systems Change-Id: I9b5c3a7794e9cfbad7f17099ff93a30d90b14776 --- M payloads/external/Makefile.inc M payloads/external/tianocore/Kconfig M payloads/external/tianocore/Makefile 3 files changed, 13 insertions(+), 1 deletion(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/63/60763/1
diff --git a/payloads/external/Makefile.inc b/payloads/external/Makefile.inc index e5c76bf..0feb20a 100644 --- a/payloads/external/Makefile.inc +++ b/payloads/external/Makefile.inc @@ -152,6 +152,7 @@ CONFIG_TIANOCORE_BOOT_TIMEOUT=$(CONFIG_TIANOCORE_BOOT_TIMEOUT) \ CONFIG_TIANOCORE_CBMEM_LOGGING=$(CONFIG_TIANOCORE_CBMEM_LOGGING) \ CONFIG_TIANOCORE_COREBOOTPAYLOAD=$(CONFIG_TIANOCORE_COREBOOTPAYLOAD) \ + CONFIG_TIANOCORE_FOLLOW_BGRT_SPEC=$(CONFIG_TIANOCORE_FOLLOW_BGRT_SPEC) \ CONFIG_TIANOCORE_SECUREBOOT=$(CONFIG_TIANOCORE_SECUREBOOT) \ CONFIG_TIANOCORE_USE_8254_TIMER=$(CONFIG_TIANOCORE_USE_8254_TIMER) \ GCC_CC_x86_32=$(GCC_CC_x86_32) \ diff --git a/payloads/external/tianocore/Kconfig b/payloads/external/tianocore/Kconfig index bbc3788..fd406b7 100644 --- a/payloads/external/tianocore/Kconfig +++ b/payloads/external/tianocore/Kconfig @@ -123,6 +123,13 @@ Use F7 as the hot-key to access the Boot Manager. This replaces the default key of Esc, which can conflict with GRUB.
+config TIANOCORE_FOLLOW_BGRT_SPEC + bool "Center logo 38.2% from the top of screen" + default y + help + Follow the BGRT Specification implemented by Microsoft and + centre the Boot Logo 38.2% from the top of screen. + endif
if TIANOCORE_COREBOOTPAYLOAD diff --git a/payloads/external/tianocore/Makefile b/payloads/external/tianocore/Makefile index 0816030..4231c90 100644 --- a/payloads/external/tianocore/Makefile +++ b/payloads/external/tianocore/Makefile @@ -58,6 +58,10 @@ TPM=-D TPM_ENABLE=TRUE endif
+ifeq ($(CONFIG_TIANOCORE_FOLLOW_BGRT_SPEC),y) +BGRT=-D FOLLOW_BGRT_SPEC=TRUE +endif + PS2=-D PS2_KEYBOARD_ENABLE=TRUE -D SIO_BUS_ENABLE=TRUE
TIMEOUT=-D PLATFORM_BOOT_TIMEOUT=$(CONFIG_TIANOCORE_BOOT_TIMEOUT) @@ -69,7 +73,7 @@ ifeq ($(CONFIG_TIANOCORE_COREBOOTPAYLOAD),y) BUILD_STR=-q -a IA32 -a X64 -p CorebootPayloadPkg/CorebootPayloadPkgIa32X64.dsc -t COREBOOT -b $(BUILD_TYPE) $(TIMER) -DPS2_KEYBOARD_ENABLE else -BUILD_STR=-q -a IA32 -a X64 -p UefiPayloadPkg/UefiPayloadPkg.dsc -t COREBOOT -b $(BUILD_TYPE) $(TIMEOUT) $(build_flavor) $(CBMEM) $(4G) $(TPM) $(SB) $(PS2) $(KEY) +BUILD_STR=-q -a IA32 -a X64 -p UefiPayloadPkg/UefiPayloadPkg.dsc -t COREBOOT -b $(BUILD_TYPE) $(TIMEOUT) $(build_flavor) $(CBMEM) $(4G) $(TPM) $(SB) $(PS2) $(KEY) $(BGRT) endif
all: clean build