From 63359d1bcefa9947c76f981f3ed6a8dc419ce4cb Mon Sep 17 00:00:00 2001 From: Matt DeVillier Date: Fri, 12 Apr 2024 11:20:54 -0500 Subject: 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 Reviewed-on: https://review.coreboot.org/c/coreboot/+/81892 Reviewed-by: Sean Rhodes Tested-by: build bot (Jenkins) --- payloads/external/edk2/Makefile | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'payloads/external/edk2/Makefile') 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 -- cgit v1.2.3