From 690d27faa7a415d16d63409f8d865b1417407a63 Mon Sep 17 00:00:00 2001 From: Simon Newton Date: Wed, 27 Mar 2019 13:52:36 +0000 Subject: [PATCH] mainboard/asus/p8h61-m_pro : Support TPM module Select support in Kconfig and configure device in devicetree Tested with ASUS addon TPM modules, v1.2 (ASUS TPM-L FW3.19 rev1.02H) and v2.0 (ASUS TPM-L R2.0 rev1.00) using SeaBIOS and Linux OS Change-Id: Icdad9a41b61221b536f2ac695f44319f6b0599e7 Signed-off-by: Simon Newton Reviewed-on: https://review.coreboot.org/c/coreboot/+/32080 Tested-by: build bot (Jenkins) Reviewed-by: Patrick Rudolph Reviewed-by: Patrick Rudolph Reviewed-by: Philipp Deppenwiese --- src/mainboard/asus/p8h61-m_pro/Kconfig | 1 + src/mainboard/asus/p8h61-m_pro/devicetree.cb | 3 +++ 2 files changed, 4 insertions(+) diff --git a/src/mainboard/asus/p8h61-m_pro/Kconfig b/src/mainboard/asus/p8h61-m_pro/Kconfig index 4d2418703a..082d3e4028 100644 --- a/src/mainboard/asus/p8h61-m_pro/Kconfig +++ b/src/mainboard/asus/p8h61-m_pro/Kconfig @@ -30,6 +30,7 @@ config BOARD_SPECIFIC_OPTIONS select HAVE_OPTION_TABLE select HAVE_CMOS_DEFAULT select DRIVERS_ASMEDIA_ASPM_BLACKLIST + select MAINBOARD_HAS_LPC_TPM config MAINBOARD_DIR string diff --git a/src/mainboard/asus/p8h61-m_pro/devicetree.cb b/src/mainboard/asus/p8h61-m_pro/devicetree.cb index 9407aab548..f853452728 100644 --- a/src/mainboard/asus/p8h61-m_pro/devicetree.cb +++ b/src/mainboard/asus/p8h61-m_pro/devicetree.cb @@ -109,6 +109,9 @@ chip northbridge/intel/sandybridge irq 0xe5 = 0xff end end + chip drivers/pc80/tpm + device pnp 4e.0 on end # TPM module + end end device pci 1f.2 on end # SATA Controller 1 device pci 1f.3 on end # SMBus