diff options
author | Matt DeVillier <matt.devillier@gmail.com> | 2022-08-18 18:05:54 -0500 |
---|---|---|
committer | Matt DeVillier <matt.devillier@amd.corp-partner.google.com> | 2023-08-18 15:27:25 +0000 |
commit | 64262a6183b3deaee3aff980f543d976c99d95c6 (patch) | |
tree | 5a731a94318c10812ac549227c76b193131dd974 /payloads/external/edk2/Kconfig | |
parent | 3596a5ee67b1d3e37aadbcd003d6970998985cce (diff) |
payloads/edk2: Add support for passing VBT/GOP driver to edk2
Add Kconfig for passing a VBT file and GOP driver to edk2, and pass a
build param to use them along with the platform GOP driver. This allows
edk2 to initialize the display and change display modes, instead of
being limited to the single mode set by whatever display init method
coreboot might use (libgfxinit, FSP/GOP, VBIOS, etc).
TEST=build/boot multiple google boards spanning several platforms using
the edk2 GOP driver for display init.
Change-Id: I63a49df2411fe44b06eaee6d0fb9aab42ac8aedb
Signed-off-by: Matt DeVillier <matt.devillier@gmail.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/77269
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Sean Rhodes <sean@starlabs.systems>
Diffstat (limited to 'payloads/external/edk2/Kconfig')
-rw-r--r-- | payloads/external/edk2/Kconfig | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/payloads/external/edk2/Kconfig b/payloads/external/edk2/Kconfig index ddc521c11b..6fdb26472a 100644 --- a/payloads/external/edk2/Kconfig +++ b/payloads/external/edk2/Kconfig @@ -262,6 +262,20 @@ config EDK2_SECURE_BOOT_SUPPORT Select this option to enable UEFI SecureBoot support in edk2. UEFI SecureBoot will be disabled by default and can be enabled from the menu option. +config EDK2_GOP_DRIVER + bool "Add a GOP driver to the Tianocore build" + depends on INTEL_GMA_ADD_VBT && NO_GFX_INIT && (EDK2_REPO_MRCHROMEBOX || EDK2_REPO_CUSTOM) + default y if INTEL_GMA_ADD_VBT && NO_GFX_INIT && EDK2_REPO_MRCHROMEBOX + help + Select this option to have edk2 use an external GOP driver for display init. + +config EDK2_GOP_FILE + string "GOP driver file" + depends on EDK2_GOP_DRIVER + default "IntelGopDriver.efi" + help + The name of the GOP driver file passed to edk2. + config EDK2_CUSTOM_BUILD_PARAMS string "edk2 additional custom build parameters" default "-D VARIABLE_SUPPORT=SMMSTORE" if EDK2_REPO_MRCHROMEBOX && SMMSTORE_V2 |