Skip to content

Commit c14bbbc

Browse files
Sean-StarLabsTh3Fanbus
authored andcommitted
payloads/tianocore: Bind the PCDs for screen size to Kconfig
Bind the PCDs that allow edk2 to use the whole display to a Kconfig option called TIANOCORE_FULL_SCREEN_SETUP. Signed-off-by: Sean Rhodes <[email protected]> Change-Id: Ic977a199f3b308c566391e37f126c4fe518b2eb6 Reviewed-on: https://review.coreboot.org/c/coreboot/+/66162 Tested-by: build bot (Jenkins) <[email protected]> Reviewed-by: Matt DeVillier <[email protected]> Reviewed-by: Lean Sheng Tan <[email protected]>
1 parent 6388a5b commit c14bbbc

File tree

3 files changed

+11
-0
lines changed

3 files changed

+11
-0
lines changed

payloads/external/Makefile.inc

+1
Original file line numberDiff line numberDiff line change
@@ -173,6 +173,7 @@ $(obj)/UEFIPAYLOAD.fd tianocore: $(DOTCONFIG)
173173
CONFIG_TIANOCORE_BOOT_TIMEOUT=$(CONFIG_TIANOCORE_BOOT_TIMEOUT) \
174174
CONFIG_TIANOCORE_CBMEM_LOGGING=$(CONFIG_TIANOCORE_CBMEM_LOGGING) \
175175
CONFIG_TIANOCORE_FOLLOW_BGRT_SPEC=$(CONFIG_TIANOCORE_FOLLOW_BGRT_SPEC) \
176+
CONFIG_TIANOCORE_FULL_SCREEN_SETUP=$(CONFIG_TIANOCORE_FULL_SCREEN_SETUP) \
176177
CONFIG_TIANOCORE_HAVE_EFI_SHELL=$(CONFIG_TIANOCORE_HAVE_EFI_SHELL) \
177178
CONFIG_TIANOCORE_PRIORITIZE_INTERNAL=$(CONFIG_TIANOCORE_PRIORITIZE_INTERNAL) \
178179
CONFIG_TIANOCORE_PS2_SUPPORT=$(CONFIG_TIANOCORE_PS2_SUPPORT) \

payloads/external/tianocore/Kconfig

+8
Original file line numberDiff line numberDiff line change
@@ -158,6 +158,14 @@ config TIANOCORE_FOLLOW_BGRT_SPEC
158158
the Boot Logo 38.2% will be vertically centered 38.2% from
159159
the top of the display.
160160

161+
config TIANOCORE_FULL_SCREEN_SETUP
162+
bool "Use the full screen for the edk2 frontpage"
163+
default y
164+
help
165+
Allow edk2 to use the full screen to display the frontpage
166+
(aka "Boot Menu"). With this option disable, it will be
167+
limited to 640x480.
168+
161169
config TIANOCORE_HAVE_EFI_SHELL
162170
bool "Include EFI Shell"
163171
default y

payloads/external/tianocore/Makefile

+2
Original file line numberDiff line numberDiff line change
@@ -84,10 +84,12 @@ endif
8484
# EDKII has the below PCDs that are relevant to coreboot:
8585
#
8686
# Allows EDKII to use the full framebuffer
87+
ifeq ($(CONFIG_TIANOCORE_FULL_SCREEN_SETUP),y)
8788
BUILD_STR += --pcd gEfiMdeModulePkgTokenSpaceGuid.PcdConOutRow=0
8889
BUILD_STR += --pcd gEfiMdeModulePkgTokenSpaceGuid.PcdConOutColumn=0
8990
BUILD_STR += --pcd gEfiMdeModulePkgTokenSpaceGuid.PcdSetupConOutRow=0
9091
BUILD_STR += --pcd gEfiMdeModulePkgTokenSpaceGuid.PcdSetupConOutColumn=0
92+
endif
9193
#
9294
# The below are legacy options only available in CorebootPayloadPkg:
9395
#

0 commit comments

Comments
 (0)