From e36a00af719347f1f26d37d4b13fe2d416cdfef1 Mon Sep 17 00:00:00 2001 From: Kevin Cody-Little Date: Wed, 9 May 2018 14:34:23 -0400 Subject: mainboard/asus/am1i-a: turn on the tpm Along with other patches submitted for review to get the chipset parts working, this allows Linux or other OS to use a TPM module plugged into the 20-pin LPC header on the board, by exposing its presence through the ACPI and PNP tables. This patch adds to the Kconfig and devicetree.cb files. Tested with the TPM/FW 3.19 and the trousers tools. Change-Id: I8c1aea245f81fa44a6bdd5301bbee958cbcdfaaa Signed-off-by: Kevin Cody-Little Reviewed-on: https://review.coreboot.org/26193 Tested-by: build bot (Jenkins) Reviewed-by: Nico Huber --- src/mainboard/asus/am1i-a/Kconfig | 1 + src/mainboard/asus/am1i-a/devicetree.cb | 3 +++ 2 files changed, 4 insertions(+) (limited to 'src/mainboard') diff --git a/src/mainboard/asus/am1i-a/Kconfig b/src/mainboard/asus/am1i-a/Kconfig index e0a78ff1ad..56d5d0cbce 100644 --- a/src/mainboard/asus/am1i-a/Kconfig +++ b/src/mainboard/asus/am1i-a/Kconfig @@ -16,6 +16,7 @@ config BOARD_SPECIFIC_OPTIONS select NORTHBRIDGE_AMD_AGESA_FAMILY16_KB select SOUTHBRIDGE_AMD_AGESA_YANGTZE select SUPERIO_ITE_IT8623E + select MAINBOARD_HAS_LPC_TPM config MAINBOARD_DIR string diff --git a/src/mainboard/asus/am1i-a/devicetree.cb b/src/mainboard/asus/am1i-a/devicetree.cb index b81048708a..4fcd13eb14 100644 --- a/src/mainboard/asus/am1i-a/devicetree.cb +++ b/src/mainboard/asus/am1i-a/devicetree.cb @@ -85,6 +85,9 @@ chip northbridge/amd/agesa/family16kb/root_complex io 0x62 = 0x300 end end #superio/ite/it8623e + chip drivers/pc80/tpm + device pnp 4e.0 on end # TPM module + end end #device pci 14.3 # LPC device pci 14.7 off end # SD - no card reader present end #chip southbridge/amd/agesa/hudson -- cgit v1.2.3