diff options
author | Sean Rhodes <sean@starlabs.systems> | 2022-02-09 08:27:29 +0000 |
---|---|---|
committer | Felix Held <felix-coreboot@felixheld.de> | 2022-02-24 00:29:01 +0000 |
commit | 14d67b351555c4ddfe0ad6ed031d09298c6a7e96 (patch) | |
tree | 8444d808ac10540ca54bb81ce750f89f92d31e3c /payloads/external/tianocore | |
parent | c8decce31cabfe25018409453a3c434aa38a2107 (diff) |
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>
Diffstat (limited to 'payloads/external/tianocore')
-rw-r--r-- | payloads/external/tianocore/Kconfig | 8 | ||||
-rw-r--r-- | payloads/external/tianocore/Makefile | 4 |
2 files changed, 12 insertions, 0 deletions
diff --git a/payloads/external/tianocore/Kconfig b/payloads/external/tianocore/Kconfig index 331a141214..d6225134fa 100644 --- a/payloads/external/tianocore/Kconfig +++ b/payloads/external/tianocore/Kconfig @@ -142,6 +142,14 @@ config TIANOCORE_CBMEM_LOGGING this option, especially if using a debug (vs release) build. 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 if TIANOCORE_COREBOOTPAYLOAD diff --git a/payloads/external/tianocore/Makefile b/payloads/external/tianocore/Makefile index ebaccc927b..9c9cc9a05e 100644 --- a/payloads/external/tianocore/Makefile +++ b/payloads/external/tianocore/Makefile @@ -36,6 +36,10 @@ endif ifeq ($(CONFIG_TIANOCORE_RELEASE),y) BUILD_STR += -b RELEASE endif +# FOLLOW_BGRT_SPEC = FALSE +ifeq ($(CONFIG_TIANOCORE_FOLLOW_BGRT_SPEC),y) +BUILD_STR += -D FOLLOW_BGRT_SPEC=TRUE +endif # PLATFORM_BOOT_TIMEOUT = 3 ifneq ($(TIANOCORE_BOOT_TIMEOUT),) BUILD_STR += -D PLATFORM_BOOT_TIMEOUT=$(CONFIG_TIANOCORE_BOOT_TIMEOUT) |