aboutsummaryrefslogtreecommitdiff
path: root/payloads/external/edk2
diff options
context:
space:
mode:
authorMatt DeVillier <matt.devillier@gmail.com>2023-07-25 19:20:32 -0500
committerMatt DeVillier <matt.devillier@gmail.com>2023-08-18 19:04:10 +0000
commit5ba16d02b6fb27c95c80ce12d976882812e9cfe0 (patch)
treec5d2d565467607824285d2065550ab95230ce712 /payloads/external/edk2
parent64262a6183b3deaee3aff980f543d976c99d95c6 (diff)
payloads/edk2: disable TPM support for CR50 TPM
Disable TPM support for CR50 TPM when using MrChromebox repo, since it's not currently supported in edk2, and causes some boards (eg AMD Zen-based) to failed to boot. TEST=build/boot on google/frostflow Change-Id: I64b5eb09d64eafd2bed400b7a7c97750cc368aed Signed-off-by: Matt DeVillier <matt.devillier@gmail.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/77270 Reviewed-by: Martin L Roth <gaumless@gmail.com> Reviewed-by: Varshit Pandya <pandyavarshit@gmail.com> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Diffstat (limited to 'payloads/external/edk2')
-rw-r--r--payloads/external/edk2/Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/payloads/external/edk2/Makefile b/payloads/external/edk2/Makefile
index 0d1e169302..6131c1ca71 100644
--- a/payloads/external/edk2/Makefile
+++ b/payloads/external/edk2/Makefile
@@ -135,6 +135,10 @@ BUILD_STR += --pcd gEfiMdeModulePkgTokenSpaceGuid.PcdSetupConOutRow=0
BUILD_STR += --pcd gEfiMdeModulePkgTokenSpaceGuid.PcdSetupConOutColumn=0
endif
+ifeq ($(CONFIG_TPM_GOOGLE_CR50)$(CONFIG_EDK2_REPO_MRCHROMEBOX),yy)
+BUILD_STR += -D TPM_ENABLE=FALSE
+endif
+
bootloader = $(word 8,$(subst /, ,$(BUILD_STR)))
ifneq ($(CONFIG_EDK2_CUSTOM_BUILD_PARAMS),)