summaryrefslogtreecommitdiff
path: root/src/mainboard/google/rex/Kconfig
diff options
context:
space:
mode:
Diffstat (limited to 'src/mainboard/google/rex/Kconfig')
-rw-r--r--src/mainboard/google/rex/Kconfig16
1 files changed, 16 insertions, 0 deletions
diff --git a/src/mainboard/google/rex/Kconfig b/src/mainboard/google/rex/Kconfig
index c10f3f3e14..1d7652c0b3 100644
--- a/src/mainboard/google/rex/Kconfig
+++ b/src/mainboard/google/rex/Kconfig
@@ -4,7 +4,9 @@ config BOARD_GOOGLE_REX_COMMON
select EC_GOOGLE_CHROMEEC_BOARDID
select HAVE_ACPI_RESUME
select HAVE_ACPI_TABLES
+ select I2C_TPM
select INTEL_LPSS_UART_FOR_CONSOLE
+ select MAINBOARD_HAS_TPM2
config BOARD_GOOGLE_BASEBOARD_REX
def_bool n
@@ -15,6 +17,8 @@ config BOARD_GOOGLE_BASEBOARD_REX
select MEMORY_SOLDERDOWN
select SOC_INTEL_METEORLAKE
select SYSTEM_TYPE_LAPTOP
+ select TI50_FIRMWARE_VERSION_NOT_SUPPORTED
+ select TPM_GOOGLE_TI50
config BOARD_GOOGLE_REX0
select BOARD_GOOGLE_BASEBOARD_REX
@@ -62,4 +66,16 @@ config UART_FOR_CONSOLE
config OVERRIDE_DEVICETREE
default "variants/\$(CONFIG_VARIANT_DIR)/overridetree.cb"
+config DRIVER_TPM_I2C_BUS
+ hex
+ default 0x4 if BOARD_GOOGLE_REX0
+
+config DRIVER_TPM_I2C_ADDR
+ hex
+ default 0x50
+
+config TPM_TIS_ACPI_INTERRUPT
+ int
+ default 35 # GPE0_DW1_03 (GPP_E03)
+
endif # BOARD_GOOGLE_REX_COMMON