[coreboot-gerrit] Patch set updated for coreboot: mb/asus/kgpe-d16: Add TPM support

Timothy Pearson (tpearson@raptorengineering.com) gerrit at coreboot.org
Mon Aug 22 18:10:28 CEST 2016


Timothy Pearson (tpearson at raptorengineering.com) just uploaded a new patch set to gerrit, which you can find at https://review.coreboot.org/16269

-gerrit

commit 9943ca5da8b09da94bccfc3ea3d181cc53876a96
Author: Timothy Pearson <tpearson at raptorengineering.com>
Date:   Fri Aug 19 17:29:17 2016 -0500

    mb/asus/kgpe-d16: Add TPM support
    
    The ASUS KGPE-D16 accepts an optional Infineon LPC TPM module.
    Expose the TPM LPC device to the host operating system.
    
    Change-Id: If500e9162bf1e233ccaa35db79452daa59a34f2f
    Signed-off-by: Timothy Pearson <tpearson at raptorengineering.com>
---
 src/mainboard/asus/kgpe-d16/Kconfig       | 1 +
 src/mainboard/asus/kgpe-d16/devicetree.cb | 3 +++
 src/mainboard/asus/kgpe-d16/dsdt.asl      | 2 ++
 3 files changed, 6 insertions(+)

diff --git a/src/mainboard/asus/kgpe-d16/Kconfig b/src/mainboard/asus/kgpe-d16/Kconfig
index 23c91f0..ca1f0c8 100644
--- a/src/mainboard/asus/kgpe-d16/Kconfig
+++ b/src/mainboard/asus/kgpe-d16/Kconfig
@@ -30,6 +30,7 @@ config BOARD_SPECIFIC_OPTIONS # dummy
 	select MMCONF_SUPPORT_DEFAULT
 	select SPI_FLASH
 	select SPI_FLASH_WINBOND
+	select MAINBOARD_HAS_LPC_TPM
 	select HAVE_ACPI_RESUME
 	select DRIVERS_I2C_W83795
 	select DRIVERS_ASPEED_AST2050
diff --git a/src/mainboard/asus/kgpe-d16/devicetree.cb b/src/mainboard/asus/kgpe-d16/devicetree.cb
index ff2023d..9039f6d 100644
--- a/src/mainboard/asus/kgpe-d16/devicetree.cb
+++ b/src/mainboard/asus/kgpe-d16/devicetree.cb
@@ -214,6 +214,9 @@ chip northbridge/amd/amdfam10/root_complex	# Root complex
 							device pnp 2e.d off end		# VID_BUSSEL
 							device pnp 2e.f off end		# GPIO_PP_OD
 						end
+						chip drivers/pc80/tpm
+							device pnp 4e.0 on end		# TPM module
+						end
 					end
 					device pci 14.4 on			# Bridge
 						device pci 1.0 on end		# VGA
diff --git a/src/mainboard/asus/kgpe-d16/dsdt.asl b/src/mainboard/asus/kgpe-d16/dsdt.asl
index d364f1f..aa12e0e 100644
--- a/src/mainboard/asus/kgpe-d16/dsdt.asl
+++ b/src/mainboard/asus/kgpe-d16/dsdt.asl
@@ -564,6 +564,8 @@ DefinitionBlock (
 
 				#include "../../../superio/winbond/w83667hg-a/ps2_controller.asl"
 
+				#include <drivers/pc80/tpm/acpi/tpm.asl>
+
 				/* UART 1 */
 				Device (URT1)
 				{



More information about the coreboot-gerrit mailing list