summaryrefslogtreecommitdiff
path: root/payloads/external/edk2
diff options
context:
space:
mode:
Diffstat (limited to 'payloads/external/edk2')
-rw-r--r--payloads/external/edk2/Kconfig9
-rw-r--r--payloads/external/edk2/Makefile4
2 files changed, 13 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
diff --git a/payloads/external/edk2/Makefile b/payloads/external/edk2/Makefile
index 3b73ce89ea..e7f11f0693 100644
--- a/payloads/external/edk2/Makefile
+++ b/payloads/external/edk2/Makefile
@@ -137,6 +137,10 @@ endif
ifeq ($(CONFIG_EDK2_UFS_ENABLE),y)
BUILD_STR += -D UFS_ENABLE=TRUE
endif
+# USE_PCO_MMIO_EMMC = FALSE
+ifeq ($(CONFIG_EDK2_PCO_MMIO_EMMC),y)
+BUILD_STR += -D USE_PCO_MMIO_EMMC=TRUE
+endif
endif