From 84101434c0aae2562bab0231877f166a58ab2b95 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C5=82=20=C5=BBygowski?= Date: Tue, 13 Feb 2024 15:59:51 +0100 Subject: mb/msi/ms7d25,ms7e06: Enable discrete TPM module support MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Now that multiple TPM drivers may be compiled in, it is possible to support switching between fTPM and dTPM. The patch adds: - Device tree entry for PC80 discrete TPM - TPM PIRQ# GPIO active low routed to IOAPIC for TPM interrupt - MEMORY_MAPPED_TPM option to board's Kconfig to enable PC80 TPM driver When the ME is disabled, e.g. via HECI command, chipset will route the TPM traffic to SPI automatically. When a SPI TPM is connected to the JTPM1 on the board, it will be probed successfully and initialized in place of inactive PTT/fTPM. Change-Id: Ie6e7026b6f1cec842bce4ef40b6db7feb75200e3 Signed-off-by: Michał Żygowski Reviewed-on: https://review.coreboot.org/c/coreboot/+/80456 Reviewed-by: Maciej Pijanowski Tested-by: build bot (Jenkins) Reviewed-by: Angel Pons --- src/mainboard/msi/ms7d25/Kconfig | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/mainboard/msi/ms7d25/Kconfig') diff --git a/src/mainboard/msi/ms7d25/Kconfig b/src/mainboard/msi/ms7d25/Kconfig index ab9fa2b4a8..1b23f0354a 100644 --- a/src/mainboard/msi/ms7d25/Kconfig +++ b/src/mainboard/msi/ms7d25/Kconfig @@ -16,6 +16,7 @@ config BOARD_MSI_MS7D25 select HAVE_ACPI_RESUME select HAVE_ACPI_TABLES select INTEL_GMA_HAVE_VBT + select MEMORY_MAPPED_TPM select CRB_TPM select HAVE_INTEL_PTT select USE_LEGACY_8254_TIMER @@ -53,6 +54,9 @@ config CBFS_SIZE hex default 0x1000000 +config TPM_PIRQ + default 0x3f # GPP_E7_IRQ + config VBOOT select GBB_FLAG_DISABLE_EC_SOFTWARE_SYNC select GBB_FLAG_DISABLE_FWMP -- cgit v1.2.3