summaryrefslogtreecommitdiff
path: root/src/mainboard/msi/ms7d25
diff options
context:
space:
mode:
authorMichał Żygowski <michal.zygowski@3mdeb.com>2022-04-23 00:22:20 +0200
committerMichał Żygowski <michal.zygowski@3mdeb.com>2022-07-11 08:55:36 +0000
commitf0f8a5fda830f9fc160cc1682f3805c9d5ee926e (patch)
tree6bb98eefda11183a18d30b4c6fdf2a539b515dbc /src/mainboard/msi/ms7d25
parented8216d42d3114e34d1bee578b1601c44f8387be (diff)
mainboard/msi/ms7d25: Enable PTT
Original firmware ships with PTT enabled by default on poweron. PTT takes priority over SPI/LPC TPM so enable the CRB interface until coreboot implements a way to select the interface and adapt the API to handle any TPM detection. TEST=Boot the board and see PTT is detected by Windows and Linux Signed-off-by: Michał Żygowski <michal.zygowski@3mdeb.com> Change-Id: I74dc2c4245388a9f134b27e313ef26124b952594 Reviewed-on: https://review.coreboot.org/c/coreboot/+/63834 Reviewed-by: Krystian Hebel <krystian.hebel@3mdeb.com> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Diffstat (limited to 'src/mainboard/msi/ms7d25')
-rw-r--r--src/mainboard/msi/ms7d25/Kconfig2
-rw-r--r--src/mainboard/msi/ms7d25/devicetree.cb4
2 files changed, 6 insertions, 0 deletions
diff --git a/src/mainboard/msi/ms7d25/Kconfig b/src/mainboard/msi/ms7d25/Kconfig
index db32b17655..0bfdc7d590 100644
--- a/src/mainboard/msi/ms7d25/Kconfig
+++ b/src/mainboard/msi/ms7d25/Kconfig
@@ -11,6 +11,8 @@ config BOARD_MSI_MS7D25
select HAVE_ACPI_RESUME
select HAVE_ACPI_TABLES
select INTEL_GMA_HAVE_VBT
+ select CRB_TPM
+ select HAVE_INTEL_PTT
if BOARD_MSI_MS7D25
diff --git a/src/mainboard/msi/ms7d25/devicetree.cb b/src/mainboard/msi/ms7d25/devicetree.cb
index b2cc6b1a7e..770923f02e 100644
--- a/src/mainboard/msi/ms7d25/devicetree.cb
+++ b/src/mainboard/msi/ms7d25/devicetree.cb
@@ -225,5 +225,9 @@ chip soc/intel/alderlake
register "pch_hda_idisp_codec_enable" = "true"
end
device ref smbus on end
+
+ chip drivers/crb
+ device mmio 0xfed40000 on end
+ end
end
end