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/Kconfig17
1 files changed, 3 insertions, 14 deletions
diff --git a/src/mainboard/google/oak/Kconfig b/src/mainboard/google/oak/Kconfig
index d8986c63c9..7f0d8b5d3f 100644
--- a/src/mainboard/google/oak/Kconfig
+++ b/src/mainboard/google/oak/Kconfig
@@ -5,18 +5,6 @@ config BOARD_GOOGLE_OAK_COMMON
if BOARD_GOOGLE_OAK_COMMON
-config OTHERS_HAVE_TPM1
- bool
- default y
- select MAINBOARD_HAS_I2C_TPM_GENERIC
- select MAINBOARD_HAS_TPM1
-
-config OAK_HAS_TPM2
- bool
- default n
- select MAINBOARD_HAS_I2C_TPM_CR50
- select MAINBOARD_HAS_TPM2
-
config BOARD_SPECIFIC_OPTIONS
def_bool y
select SOC_MEDIATEK_MT8173
@@ -25,6 +13,8 @@ config BOARD_SPECIFIC_OPTIONS
select DRIVER_PARADE_PS8640
select EC_GOOGLE_CHROMEEC
select EC_GOOGLE_CHROMEEC_SPI
+ select MAINBOARD_HAS_I2C_TPM_GENERIC
+ select MAINBOARD_HAS_TPM1
select MAINBOARD_HAS_NATIVE_VGA_INIT
select MAINBOARD_FORCE_NATIVE_VGA_INIT
select HAVE_LINEAR_FRAMEBUFFER
@@ -49,8 +39,7 @@ config DRIVER_TPM_I2C_BUS
config DRIVER_TPM_I2C_ADDR
hex
- default 0x20 if !OAK_HAS_TPM2
- default 0x50 if OAK_HAS_TPM2
+ default 0x20
config BOOT_DEVICE_SPI_FLASH_BUS
int