From c68c4bca1adbf00e62dae558f06f48f82ea69c9d Mon Sep 17 00:00:00 2001 From: Bill XIE Date: Sun, 26 Nov 2017 13:19:55 +0800 Subject: [PATCH] mb/hp/8460p: Add TPM support After applying this change, /dev/tpm0 is visible inside GNU/Linux with kernel 4.9.51-1 from Debian, and there is a menu item shown inside SeaBIOS' (master only) interface if ESC is pressed. The TPM is confirmed working with [Heads](https://github.com/osresearch/heads). Change-Id: I3b845928954d203d1c3608b6704fedbd590e1fa9 Signed-off-by: Bill XIE Reviewed-on: https://review.coreboot.org/22602 Tested-by: build bot (Jenkins) Reviewed-by: Stefan Reinauer --- src/mainboard/hp/8460p/Kconfig | 1 + src/mainboard/hp/8460p/devicetree.cb | 4 ++++ 2 files changed, 5 insertions(+) diff --git a/src/mainboard/hp/8460p/Kconfig b/src/mainboard/hp/8460p/Kconfig index 6a035ae6e0..73b7a961eb 100644 --- a/src/mainboard/hp/8460p/Kconfig +++ b/src/mainboard/hp/8460p/Kconfig @@ -29,6 +29,7 @@ config BOARD_SPECIFIC_OPTIONS # dummy select SYSTEM_TYPE_LAPTOP select USE_NATIVE_RAMINIT select MAINBOARD_HAS_LIBGFXINIT + select MAINBOARD_HAS_LPC_TPM select GFX_GMA_INTERNAL_IS_LVDS select EC_HP_KBC1126 select SUPERIO_SMSC_LPC47N217 diff --git a/src/mainboard/hp/8460p/devicetree.cb b/src/mainboard/hp/8460p/devicetree.cb index 866f57edf2..ae78f8a8f8 100644 --- a/src/mainboard/hp/8460p/devicetree.cb +++ b/src/mainboard/hp/8460p/devicetree.cb @@ -138,6 +138,10 @@ chip northbridge/intel/sandybridge device pnp 4e.5 off # Com2 end end #chip superio/smsc/lpc47n217 + + chip drivers/pc80/tpm + device pnp 0c31.0 on end + end end device pci 1f.2 on # SATA Controller 1 subsystemid 0x103c 0x161c