summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKevin Cody-Little <kcodyjr@gmail.com>2018-05-09 14:34:23 -0400
committerNico Huber <nico.h@gmx.de>2018-06-03 12:48:44 +0000
commite36a00af719347f1f26d37d4b13fe2d416cdfef1 (patch)
tree58d792edda4c019e7122035c1a327cc07c5012dd
parent3e893bbed55f678155dfb58750376ad60a85e119 (diff)
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 <kcodyjr@gmail.com> Reviewed-on: https://review.coreboot.org/26193 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Nico Huber <nico.h@gmx.de>
-rw-r--r--src/mainboard/asus/am1i-a/Kconfig1
-rw-r--r--src/mainboard/asus/am1i-a/devicetree.cb3
2 files changed, 4 insertions, 0 deletions
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