summaryrefslogtreecommitdiff
path: root/src/vboot/Kconfig
diff options
context:
space:
mode:
Diffstat (limited to 'src/vboot/Kconfig')
-rw-r--r--src/vboot/Kconfig4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/vboot/Kconfig b/src/vboot/Kconfig
index c5173239ef..4ddf3e3534 100644
--- a/src/vboot/Kconfig
+++ b/src/vboot/Kconfig
@@ -17,8 +17,8 @@ menu "Verified Boot (vboot)"
config VBOOT
bool "Verify firmware with vboot."
default n
- select TPM if !MAINBOARD_HAS_TPM2
- select TPM2 if MAINBOARD_HAS_TPM2
+ select TPM if !MAINBOARD_HAS_TPM2 && !VBOOT_MOCK_SECDATA
+ select TPM2 if MAINBOARD_HAS_TPM2 && !VBOOT_MOCK_SECDATA
select TPM_INIT_FAILURE_IS_FATAL if PC80_SYSTEM && LPC_TPM
select SKIP_TPM_STARTUP_ON_NORMAL_BOOT if PC80_SYSTEM && LPC_TPM
depends on HAVE_HARD_RESET