From 6790249b56cb1620748ad904af35fcb32f799f25 Mon Sep 17 00:00:00 2001 From: Sean Rhodes Date: Tue, 12 Jul 2022 08:24:18 +0100 Subject: [PATCH] payloads/tianocore: Allow edk2 to use the full framebuffer Set all PCDs relating to console size to 0, which allows edk2 to use the full framebuffer. Signed-off-by: Sean Rhodes Change-Id: Id105a2c822a2b05da6e45dac9deeca1f155bfa33 Reviewed-on: https://review.coreboot.org/c/coreboot/+/65778 Tested-by: build bot (Jenkins) Reviewed-by: Lean Sheng Tan --- payloads/external/tianocore/Makefile | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/payloads/external/tianocore/Makefile b/payloads/external/tianocore/Makefile index d7f03bf0b9..253413239c 100644 --- a/payloads/external/tianocore/Makefile +++ b/payloads/external/tianocore/Makefile @@ -81,6 +81,14 @@ ifneq ($(CONFIG_TIANOCORE_SD_MMC_TIMEOUT),) BUILD_STR += -D SD_MMC_TIMEOUT=$(CONFIG_TIANOCORE_SD_MMC_TIMEOUT) endif # +# EDKII has the below PCDs that are revalant to coreboot: +# +# Allows EDKII to use the full framebuffer +BUILD_STR += --pcd gEfiMdeModulePkgTokenSpaceGuid.PcdConOutRow=0 +BUILD_STR += --pcd gEfiMdeModulePkgTokenSpaceGuid.PcdConOutColumn=0 +BUILD_STR += --pcd gEfiMdeModulePkgTokenSpaceGuid.PcdSetupConOutRow=0 +BUILD_STR += --pcd gEfiMdeModulePkgTokenSpaceGuid.PcdSetupConOutColumn=0 +# # The below are legacy options only available in CorebootPayloadPkg: # # PCIE_BASE = 0