summaryrefslogtreecommitdiff
path: root/src/mainboard/google/geralt/Kconfig
diff options
context:
space:
mode:
authorRex-BC Chen <rex-bc.chen@mediatek.com>2022-07-25 19:36:56 +0800
committerFelix Held <felix-coreboot@felixheld.de>2022-08-03 16:40:20 +0000
commitd9e568a0464796b0d5e6209f4c5e3d7ed42e59b2 (patch)
tree39a259ae920f6093fd611ad47b5c6644d0c5170f /src/mainboard/google/geralt/Kconfig
parent433810a5777cbfb1ee5cae5b284481acdbf63048 (diff)
mb/google/geralt: Configure TPM
Initialize I2C bus 1 for TPM control. TEST=build pass BUG=b:236331724 Signed-off-by: Bo-Chen Chen <rex-bc.chen@mediatek.com> Change-Id: If5807c9bb39260315ecbc55305def483bd2b8c51 Reviewed-on: https://review.coreboot.org/c/coreboot/+/66273 Reviewed-by: Yu-Ping Wu <yupingso@google.com> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Diffstat (limited to 'src/mainboard/google/geralt/Kconfig')
-rw-r--r--src/mainboard/google/geralt/Kconfig11
1 files changed, 11 insertions, 0 deletions
diff --git a/src/mainboard/google/geralt/Kconfig b/src/mainboard/google/geralt/Kconfig
index 0501a1d34f..9655bca100 100644
--- a/src/mainboard/google/geralt/Kconfig
+++ b/src/mainboard/google/geralt/Kconfig
@@ -24,6 +24,9 @@ config BOARD_SPECIFIC_OPTIONS
select EC_GOOGLE_CHROMEEC
select EC_GOOGLE_CHROMEEC_BOARDID
select EC_GOOGLE_CHROMEEC_SPI
+ select I2C_TPM if VBOOT
+ select MAINBOARD_HAS_TPM2 if VBOOT
+ select TPM_GOOGLE_TI50 if VBOOT
config MAINBOARD_DIR
string
@@ -40,4 +43,12 @@ config BOOT_DEVICE_SPI_FLASH_BUS
config EC_GOOGLE_CHROMEEC_SPI_BUS
hex
default 0x0
+
+config DRIVER_TPM_I2C_BUS
+ hex
+ default 0x1
+
+config DRIVER_TPM_I2C_ADDR
+ hex
+ default 0x50
endif