summaryrefslogtreecommitdiff
path: root/src/mainboard
diff options
context:
space:
mode:
authorAngel Pons <th3fanbus@gmail.com>2020-08-04 18:01:56 +0200
committerAngel Pons <th3fanbus@gmail.com>2020-08-07 10:14:23 +0000
commitcace1ebd928ab57a3794da9c37896bd8dff28183 (patch)
tree29b36a59a318122cbf8c7f674fc25a93ed664fa2 /src/mainboard
parent1fc43aa6f263db2aec76bd9510bf32470a858bae (diff)
downloadcoreboot-cace1ebd928ab57a3794da9c37896bd8dff28183.tar.xz
mb/asrock/b85m_pro4: Support LPC TPM
This mainboard has a 18-pin LPC header, where one can plug in a TPM. Untested, as I don't have a TPM. Change-Id: I14a159c373987d8b12fde18f327a9eb387c01de8 Signed-off-by: Angel Pons <th3fanbus@gmail.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/44182 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Philipp Deppenwiese <zaolin.daisuki@gmail.com>
Diffstat (limited to 'src/mainboard')
-rw-r--r--src/mainboard/asrock/b85m_pro4/Kconfig1
-rw-r--r--src/mainboard/asrock/b85m_pro4/devicetree.cb3
2 files changed, 4 insertions, 0 deletions
diff --git a/src/mainboard/asrock/b85m_pro4/Kconfig b/src/mainboard/asrock/b85m_pro4/Kconfig
index dc651208f0..0a13281444 100644
--- a/src/mainboard/asrock/b85m_pro4/Kconfig
+++ b/src/mainboard/asrock/b85m_pro4/Kconfig
@@ -12,6 +12,7 @@ config BOARD_SPECIFIC_OPTIONS
select HAVE_OPTION_TABLE
select INTEL_GMA_HAVE_VBT
select MAINBOARD_HAS_LIBGFXINIT
+ select MAINBOARD_HAS_LPC_TPM
select MAINBOARD_USES_IFD_GBE_REGION
select NORTHBRIDGE_INTEL_HASWELL
select SERIRQ_CONTINUOUS_MODE
diff --git a/src/mainboard/asrock/b85m_pro4/devicetree.cb b/src/mainboard/asrock/b85m_pro4/devicetree.cb
index 106df54e01..d257f18bc6 100644
--- a/src/mainboard/asrock/b85m_pro4/devicetree.cb
+++ b/src/mainboard/asrock/b85m_pro4/devicetree.cb
@@ -103,6 +103,9 @@ chip northbridge/intel/haswell
device pnp 2e.16 off end # Deep sleep
device pnp 2e.17 off end # GPIOA
end
+ chip drivers/pc80/tpm
+ device pnp 4e.0 on end # TPM
+ end
end
device pci 1f.2 on end # SATA (AHCI)
device pci 1f.3 on end # SMBus