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 <sean@starlabs.systems> Change-Id: Ic977a199f3b308c566391e37f126c4fe518b2eb6 Reviewed-on: https://review.coreboot.org/c/coreboot/+/66162 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Matt DeVillier <matt.devillier@gmail.com> Reviewed-by: Lean Sheng Tan <sheng.tan@9elements.com>
This commit is contained in:
parent
6388a5b892
commit
c14bbbc47b
|
@ -173,6 +173,7 @@ $(obj)/UEFIPAYLOAD.fd tianocore: $(DOTCONFIG)
|
||||||
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_FOLLOW_BGRT_SPEC=$(CONFIG_TIANOCORE_FOLLOW_BGRT_SPEC) \
|
||||||
|
CONFIG_TIANOCORE_FULL_SCREEN_SETUP=$(CONFIG_TIANOCORE_FULL_SCREEN_SETUP) \
|
||||||
CONFIG_TIANOCORE_HAVE_EFI_SHELL=$(CONFIG_TIANOCORE_HAVE_EFI_SHELL) \
|
CONFIG_TIANOCORE_HAVE_EFI_SHELL=$(CONFIG_TIANOCORE_HAVE_EFI_SHELL) \
|
||||||
CONFIG_TIANOCORE_PRIORITIZE_INTERNAL=$(CONFIG_TIANOCORE_PRIORITIZE_INTERNAL) \
|
CONFIG_TIANOCORE_PRIORITIZE_INTERNAL=$(CONFIG_TIANOCORE_PRIORITIZE_INTERNAL) \
|
||||||
CONFIG_TIANOCORE_PS2_SUPPORT=$(CONFIG_TIANOCORE_PS2_SUPPORT) \
|
CONFIG_TIANOCORE_PS2_SUPPORT=$(CONFIG_TIANOCORE_PS2_SUPPORT) \
|
||||||
|
|
|
@ -158,6 +158,14 @@ config TIANOCORE_FOLLOW_BGRT_SPEC
|
||||||
the Boot Logo 38.2% will be vertically centered 38.2% from
|
the Boot Logo 38.2% will be vertically centered 38.2% from
|
||||||
the top of the display.
|
the top of the display.
|
||||||
|
|
||||||
|
config TIANOCORE_FULL_SCREEN_SETUP
|
||||||
|
bool "Use the full screen for the edk2 frontpage"
|
||||||
|
default y
|
||||||
|
help
|
||||||
|
Allow edk2 to use the full screen to display the frontpage
|
||||||
|
(aka "Boot Menu"). With this option disable, it will be
|
||||||
|
limited to 640x480.
|
||||||
|
|
||||||
config TIANOCORE_HAVE_EFI_SHELL
|
config TIANOCORE_HAVE_EFI_SHELL
|
||||||
bool "Include EFI Shell"
|
bool "Include EFI Shell"
|
||||||
default y
|
default y
|
||||||
|
|
|
@ -84,10 +84,12 @@ endif
|
||||||
# EDKII has the below PCDs that are relevant to coreboot:
|
# EDKII has the below PCDs that are relevant to coreboot:
|
||||||
#
|
#
|
||||||
# Allows EDKII to use the full framebuffer
|
# Allows EDKII to use the full framebuffer
|
||||||
|
ifeq ($(CONFIG_TIANOCORE_FULL_SCREEN_SETUP),y)
|
||||||
BUILD_STR += --pcd gEfiMdeModulePkgTokenSpaceGuid.PcdConOutRow=0
|
BUILD_STR += --pcd gEfiMdeModulePkgTokenSpaceGuid.PcdConOutRow=0
|
||||||
BUILD_STR += --pcd gEfiMdeModulePkgTokenSpaceGuid.PcdConOutColumn=0
|
BUILD_STR += --pcd gEfiMdeModulePkgTokenSpaceGuid.PcdConOutColumn=0
|
||||||
BUILD_STR += --pcd gEfiMdeModulePkgTokenSpaceGuid.PcdSetupConOutRow=0
|
BUILD_STR += --pcd gEfiMdeModulePkgTokenSpaceGuid.PcdSetupConOutRow=0
|
||||||
BUILD_STR += --pcd gEfiMdeModulePkgTokenSpaceGuid.PcdSetupConOutColumn=0
|
BUILD_STR += --pcd gEfiMdeModulePkgTokenSpaceGuid.PcdSetupConOutColumn=0
|
||||||
|
endif
|
||||||
#
|
#
|
||||||
# The below are legacy options only available in CorebootPayloadPkg:
|
# The below are legacy options only available in CorebootPayloadPkg:
|
||||||
#
|
#
|
||||||
|
|
Loading…
Reference in New Issue