aboutsummaryrefslogtreecommitdiff
path: root/src/mainboard/google/corsola/Kconfig
diff options
context:
space:
mode:
authorRex-BC Chen <rex-bc.chen@mediatek.corp-partner.google.com>2021-11-18 15:43:40 +0800
committerHung-Te Lin <hungte@chromium.org>2021-12-08 11:33:39 +0000
commit858481e8149426b75807c7266f9e85295b57e5da (patch)
tree82480bf6a09940550c63151bb33c9dc3a01618ac /src/mainboard/google/corsola/Kconfig
parente96861f5c74c8cd290cb7a37f81775df2f79ae7e (diff)
mb/google/corsola: Configure TPM
Initialize SPI bus 2 for TPM control. TEST=build pass BUG=b:202871018 Signed-off-by: Rex-BC Chen <rex-bc.chen@mediatek.com> Change-Id: I8ede68d6eb594890195e8464151c1c0f88aeee43 Reviewed-on: https://review.coreboot.org/c/coreboot/+/59943 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Yu-Ping Wu <yupingso@google.com>
Diffstat (limited to 'src/mainboard/google/corsola/Kconfig')
-rw-r--r--src/mainboard/google/corsola/Kconfig6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/mainboard/google/corsola/Kconfig b/src/mainboard/google/corsola/Kconfig
index 2a935f3e97..8877f2fc75 100644
--- a/src/mainboard/google/corsola/Kconfig
+++ b/src/mainboard/google/corsola/Kconfig
@@ -24,6 +24,8 @@ config BOARD_SPECIFIC_OPTIONS
select EC_GOOGLE_CHROMEEC
select EC_GOOGLE_CHROMEEC_BOARDID
select EC_GOOGLE_CHROMEEC_SPI
+ select MAINBOARD_HAS_SPI_TPM_CR50 if VBOOT
+ select MAINBOARD_HAS_TPM2 if VBOOT
config MAINBOARD_DIR
string
@@ -43,6 +45,10 @@ config SDCARD_INIT
bool
default n
+config DRIVER_TPM_SPI_BUS
+ hex
+ default 0x2
+
config EC_GOOGLE_CHROMEEC_SPI_BUS
hex
default 0x1