summaryrefslogtreecommitdiff
path: root/src/mainboard/asus
diff options
context:
space:
mode:
authorSimon Newton <simon.newton@gmail.com>2019-03-27 13:52:36 +0000
committerPhilipp Deppenwiese <zaolin.daisuki@gmail.com>2019-03-31 15:08:33 +0000
commit690d27faa7a415d16d63409f8d865b1417407a63 (patch)
treed23ce143530c1b21df529da6271a38e8b5edf029 /src/mainboard/asus
parenteb789f0b79aa99e214ccefc04f9f78b550f52f32 (diff)
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 <simon.newton@gmail.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/32080 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Patrick Rudolph <patrick.rudolph@9elements.com> Reviewed-by: Patrick Rudolph <siro@das-labor.org> Reviewed-by: Philipp Deppenwiese <zaolin.daisuki@gmail.com>
Diffstat (limited to 'src/mainboard/asus')
-rw-r--r--src/mainboard/asus/p8h61-m_pro/Kconfig1
-rw-r--r--src/mainboard/asus/p8h61-m_pro/devicetree.cb3
2 files changed, 4 insertions, 0 deletions
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