summaryrefslogtreecommitdiff
path: root/src/mainboard/intel/shadowmountain/Kconfig
diff options
context:
space:
mode:
authorAamir Bohra <aamir.bohra@intel.com>2021-02-25 15:02:35 +0530
committerPatrick Georgi <pgeorgi@google.com>2021-04-06 06:53:10 +0000
commitc63a9fb7576e2b457eb2ece83b65f6e037e4ff83 (patch)
tree7cab513bdf5a1a88d1beb5895b31711bc23f700c /src/mainboard/intel/shadowmountain/Kconfig
parent56d51b69cab5b9bfa27ce471ef4ee4ded1e61799 (diff)
mb/intel/shadowmountain: Add Cr50 support
This patch includes changes to add Cr50 support over GSPI0. BUG=b:175579964 TEST=Verify TPM init is done and boots to kernel Change-Id: I33f7427d1675190f65acf14679be93546e6db69a Signed-off-by: Aamir Bohra <aamir.bohra@intel.com> Signed-off-by: Sugnan Prabhu S <sugnan.prabhu.s@intel.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/51086 Reviewed-by: Angel Pons <th3fanbus@gmail.com> Reviewed-by: Furquan Shaikh <furquan@google.com> Reviewed-by: Rizwan Qureshi <rizwan.qureshi@intel.com> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Diffstat (limited to 'src/mainboard/intel/shadowmountain/Kconfig')
-rw-r--r--src/mainboard/intel/shadowmountain/Kconfig10
1 files changed, 9 insertions, 1 deletions
diff --git a/src/mainboard/intel/shadowmountain/Kconfig b/src/mainboard/intel/shadowmountain/Kconfig
index a8f7bf5d9e..e42160fd1a 100644
--- a/src/mainboard/intel/shadowmountain/Kconfig
+++ b/src/mainboard/intel/shadowmountain/Kconfig
@@ -20,6 +20,8 @@ config BOARD_SPECIFIC_OPTIONS
select HAVE_SPD_IN_CBFS
select INTEL_LPSS_UART_FOR_CONSOLE
select MAINBOARD_HAS_CHROMEOS
+ select MAINBOARD_HAS_SPI_TPM_CR50
+ select MAINBOARD_HAS_TPM2
select PCIEXP_HOTPLUG
select SOC_INTEL_ALDERLAKE
select SOC_INTEL_CSE_LITE_SKU
@@ -34,7 +36,6 @@ config CHROMEOS
config VBOOT
select EC_GOOGLE_CHROMEEC_SWITCHES
select VBOOT_LID_SWITCH
- select VBOOT_MOCK_SECDATA
select HAS_RECOVERY_MRC_CACHE
config DIMM_SPD_SIZE
@@ -69,4 +70,11 @@ config PCIEXP_HOTPLUG_PREFETCH_MEM
hex
default 0x1c000000 # 448 MiB
+config DRIVER_TPM_SPI_BUS
+ default 0x1
+
+config TPM_TIS_ACPI_INTERRUPT
+ int
+ default 3 # GPE0_DW0_3 (GPP_C3)
+
endif # BOARD_INTEL_SHADOWMOUNTAIN