summaryrefslogtreecommitdiff
path: root/src/mainboard/google/octopus/Kconfig
diff options
context:
space:
mode:
authorRavi Sarawadi <ravishankar.sarawadi@intel.com>2018-02-27 13:57:01 -0800
committerMartin Roth <martinroth@google.com>2018-03-21 16:01:05 +0000
commitc293496f41f8a10929d9704427dc237747e2857c (patch)
treeee9519605809c22ddba5129f6b68514e1abdf134 /src/mainboard/google/octopus/Kconfig
parent794d0970721b2f74f85006b95c90a65dd87df534 (diff)
mb/google/octopus: Enable TPM on GSPI
BUG=b:73133848 BRANCH=None TEST=Build coreboot for Octopus board. Tested the GSPI interface with a SPI EEPROM and got correct response to a RDID command Change-Id: Ia10ab9da0055b54a96134a6e4c51b2a229a6fecf Signed-off-by: Ravi Sarawadi <ravishankar.sarawadi@intel.com> Reviewed-on: https://review.coreboot.org/24907 Reviewed-by: Furquan Shaikh <furquan@google.com> Reviewed-by: Aaron Durbin <adurbin@chromium.org> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Diffstat (limited to 'src/mainboard/google/octopus/Kconfig')
-rw-r--r--src/mainboard/google/octopus/Kconfig10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/mainboard/google/octopus/Kconfig b/src/mainboard/google/octopus/Kconfig
index 3321b5c7aa..62130f6571 100644
--- a/src/mainboard/google/octopus/Kconfig
+++ b/src/mainboard/google/octopus/Kconfig
@@ -14,7 +14,10 @@ config BOARD_GOOGLE_BASEBOARD_OCTOPUS
select HAVE_ACPI_TABLES
select MAINBOARD_HAS_CHROMEOS
select MAINBOARD_HAS_TPM2
+ select MAINBOARD_HAS_SPI_TPM_CR50
select SOC_ESPI
+ select SPI_TPM
+ select TPM2
if BOARD_GOOGLE_BASEBOARD_OCTOPUS
@@ -71,4 +74,11 @@ config INCLUDE_NHLT_BLOBS
select NHLT_DA7219
select NHLT_MAX98357
+config DRIVER_TPM_SPI_BUS
+ default 0x1
+
+config TPM_TIS_ACPI_INTERRUPT
+ int
+ default 63 # GPE0_DW1_31 (GPIO_63)
+
endif # BOARD_GOOGLE_OCTOPUS