summaryrefslogtreecommitdiff
path: root/src/mainboard/google/oak/Kconfig
diff options
context:
space:
mode:
Diffstat (limited to 'src/mainboard/google/oak/Kconfig')
-rw-r--r--src/mainboard/google/oak/Kconfig9
1 files changed, 8 insertions, 1 deletions
diff --git a/src/mainboard/google/oak/Kconfig b/src/mainboard/google/oak/Kconfig
index 28771b8dd7..d727ffca92 100644
--- a/src/mainboard/google/oak/Kconfig
+++ b/src/mainboard/google/oak/Kconfig
@@ -18,6 +18,12 @@ config BOARD_GOOGLE_OAK_COMMON
if BOARD_GOOGLE_OAK_COMMON
+config OAK_HAS_TPM2
+ bool
+ default y if BOARD_GOOGLE_ROWAN
+ default n
+ select MAINBOARD_HAS_I2C_TPM_CR50
+
config BOARD_SPECIFIC_OPTIONS
def_bool y
select SOC_MEDIATEK_MT8173
@@ -56,7 +62,8 @@ config DRIVER_TPM_I2C_BUS
config DRIVER_TPM_I2C_ADDR
hex
- default 0x20
+ default 0x20 if !OAK_HAS_TPM2
+ default 0x50 if OAK_HAS_TPM2
config BOOT_DEVICE_SPI_FLASH_BUS
int