summaryrefslogtreecommitdiff
path: root/payloads/external/edk2/Kconfig
diff options
context:
space:
mode:
authorMatt DeVillier <matt.devillier@gmail.com>2024-04-12 11:20:54 -0500
committerFelix Held <felix-coreboot@felixheld.de>2024-04-17 14:33:11 +0000
commit63359d1bcefa9947c76f981f3ed6a8dc419ce4cb (patch)
tree6935e001b6ea3268a71ca24d1c68916958a331ee /payloads/external/edk2/Kconfig
parent28a147e116210e4a239599d09a0ec3754ddbd912 (diff)
payloads/edk2: Add Kconfig to enable AMD Picasso eMMC driver
Add a Kconfig to selectively enable the AMD Picasso eMMC driver recently added to MrChromebox's edk2 fork. When selected, will enable booting from AMD Picasso devices with eMMC storage. TEST=tested with rest of patch train Change-Id: I6536a6f243f6766b913e295afebcf5b965e4e969 Signed-off-by: Matt DeVillier <matt.devillier@gmail.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/81892 Reviewed-by: Sean Rhodes <sean@starlabs.systems> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Diffstat (limited to 'payloads/external/edk2/Kconfig')
-rw-r--r--payloads/external/edk2/Kconfig9
1 files changed, 9 insertions, 0 deletions
diff --git a/payloads/external/edk2/Kconfig b/payloads/external/edk2/Kconfig
index 1216084743..68eb45523e 100644
--- a/payloads/external/edk2/Kconfig
+++ b/payloads/external/edk2/Kconfig
@@ -299,6 +299,15 @@ config EDK2_UFS_ENABLE
It is needed for boards with UFS storage, but can cause issues with other boards,
so should only be enabled when needed.
+config EDK2_PCO_MMIO_EMMC
+ bool "Enable MMIO eMMC driver for AMD Picasso boards in edk2"
+ depends on EDK2_REPO_MRCHROMEBOX
+ default n
+ help
+ Select this option to enable the MMIO eMMC DXE driver in MrChromebox's fork of edk2.
+ It is needed for AMD Picasso boards with eMMC storage, but will conflict with the
+ PCI-based eMMC driver, so should only be enabled for AMD Picasso boards.
+
config EDK2_CUSTOM_BUILD_PARAMS
string "edk2 additional custom build parameters"
default "-D VARIABLE_SUPPORT=SMMSTORE" if EDK2_REPO_MRCHROMEBOX && SMMSTORE_V2