payloads/external/tianocore: Add build argument for 4G Decode
Add Kconfig option TIANOCORE_ABOVE_4G_DECODE to pass build option to edk2 to enable or disable "Above 4G Decode". Disabling allows certain Linux distributions to boot such as Qubes, Zorin and Proxmox. Requires commit `2f6d4cbcc7fa49462e607baed7626524ccd59ad3` that is present in the `uefipayload_202107` branch of MrChromebox's edk2 repository. Signed-off-by: Sean Rhodes <sean@starlabs.systems> Change-Id: Ia3b1d15196c0ec611431af29031682fea626d19d Reviewed-on: https://review.coreboot.org/c/coreboot/+/56223 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Matt DeVillier <matt.devillier@gmail.com>
This commit is contained in:
11
payloads/external/tianocore/Kconfig
vendored
11
payloads/external/tianocore/Kconfig
vendored
@@ -82,6 +82,17 @@ config TIANOCORE_BOOTSPLASH_FILE
|
||||
If an absolute path is not given, the path will assumed to be
|
||||
relative to the coreboot root directory.
|
||||
|
||||
config TIANOCORE_ABOVE_4G_MEMORY
|
||||
bool "Enable above 4G memory"
|
||||
default n
|
||||
help
|
||||
Select this option to enable Above 4G Decode. This will allow the
|
||||
payload to use all of the memory, rather than an maximum of 4G.
|
||||
|
||||
Disabling this option, which will reserve memory above 4G, is
|
||||
useful for bootloaders that are not fully 64-bit aware such as
|
||||
Qubes R4.0.4 bootloader.
|
||||
|
||||
endif
|
||||
|
||||
config TIANOCORE_BOOT_TIMEOUT
|
||||
|
Reference in New Issue
Block a user