UPSTREAM: mb/google/poppy: Add option to disable TPM

Disable TPM when VBOOT_MOCK_SECDATA is enabled.

BUG=None
BRANCH=None
TEST= Build image using USE="mocktpm" emerge-poppy coreboot depthcharge
vboot_reference chromeos-bootimage . Verify boot is successful with mock
tpm.

Change-Id: I660c1551e067037291164ca2d982c387b4e375b3
Signed-off-by: Patrick Georgi <pgeorgi@google.com>
Original-Commit-Id: 1827ec1f4e
Original-Change-Id: Iee527ed17cffb7d25d9089e48a194d99ac8c3cd1
Original-Signed-off-by: Naresh G Solanki <naresh.solanki@intel.com>
Original-Reviewed-on: https://review.coreboot.org/20158
Original-Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Original-Reviewed-by: Furquan Shaikh <furquan@google.com>
Reviewed-on: https://chromium-review.googlesource.com/539524
Commit-Ready: Patrick Georgi <pgeorgi@chromium.org>
Tested-by: Patrick Georgi <pgeorgi@chromium.org>
Reviewed-by: Patrick Georgi <pgeorgi@chromium.org>
This commit is contained in:
Naresh G Solanki 2017-06-12 11:35:12 +05:30 committed by chrome-bot
commit cc6aad68bd

View file

@ -15,7 +15,7 @@ config BOARD_GOOGLE_BASEBOARD_POPPY
select MAINBOARD_HAS_CHROMEOS
select MAINBOARD_USES_FSP2_0
select NO_FADT_8042
select POPPY_USE_I2C_TPM
select POPPY_USE_I2C_TPM if !VBOOT_MOCK_SECDATA
select SOC_INTEL_KABYLAKE
if BOARD_GOOGLE_BASEBOARD_POPPY