summaryrefslogtreecommitdiff
path: root/src/mainboard/google/skyrim/Kconfig
diff options
context:
space:
mode:
authorJon Murphy <jpmurphy@google.com>2022-02-17 21:05:19 -0700
committerFelix Held <felix-coreboot@felixheld.de>2022-02-28 13:31:27 +0000
commit0bc013b15a28eb85316f408fdf33f1ba61061584 (patch)
treeae55707c56211174be1911ef0d6843b018cb2119 /src/mainboard/google/skyrim/Kconfig
parentee67ddc707fddbff30ecb173f7854f930eb63a92 (diff)
mb/google/skyrim: Enable AP <-> D2 communication
Configure D2 I2C and Interrupt GPIOs during the early initialization. Add devicetree configuration for D2 device and enable the required config items. BUG=b:214414776 TEST=Build Signed-off-by: Jon Murphy <jpmurphy@google.com> Change-Id: I57b6d0e9da9935596e54b8eab400440e518b4523 Reviewed-on: https://review.coreboot.org/c/coreboot/+/62163 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Raul Rangel <rrangel@chromium.org> Reviewed-by: Karthik Ramasubramanian <kramasub@google.com>
Diffstat (limited to 'src/mainboard/google/skyrim/Kconfig')
-rw-r--r--src/mainboard/google/skyrim/Kconfig10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/mainboard/google/skyrim/Kconfig b/src/mainboard/google/skyrim/Kconfig
index bedddd7b85..b21291ea7d 100644
--- a/src/mainboard/google/skyrim/Kconfig
+++ b/src/mainboard/google/skyrim/Kconfig
@@ -26,6 +26,8 @@ config BOARD_SPECIFIC_OPTIONS
select ELOG_GSMI
select FW_CONFIG
select MAINBOARD_HAS_CHROMEOS
+ select MAINBOARD_HAS_I2C_TPM_CR50
+ select MAINBOARD_HAS_TPM2
select SOC_AMD_SABRINA
select SOC_AMD_COMMON_BLOCK_USE_ESPI
@@ -35,6 +37,14 @@ config CHROMEOS
config DEVICETREE
default "variants/baseboard/devicetree.cb"
+config DRIVER_TPM_I2C_BUS
+ hex
+ default 0x03
+
+config DRIVER_TPM_I2C_ADDR
+ hex
+ default 0x50
+
config FMDFILE
default "src/mainboard/\$(CONFIG_MAINBOARD_DIR)/chromeos.fmd"