summaryrefslogtreecommitdiff
path: root/src/mainboard
diff options
context:
space:
mode:
authorBill XIE <persmule@gmail.com>2017-11-26 13:19:55 +0800
committerArthur Heymans <arthur@aheymans.xyz>2017-12-05 12:53:10 +0000
commitc68c4bca1adbf00e62dae558f06f48f82ea69c9d (patch)
tree50ebc8790f73f77a06f81c72358564eaf335c089 /src/mainboard
parent486704bed9b4e49638465f5c9dfb8aee4e8f22ba (diff)
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 <persmule@gmail.com> Reviewed-on: https://review.coreboot.org/22602 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Stefan Reinauer <stefan.reinauer@coreboot.org>
Diffstat (limited to 'src/mainboard')
-rw-r--r--src/mainboard/hp/8460p/Kconfig1
-rw-r--r--src/mainboard/hp/8460p/devicetree.cb4
2 files changed, 5 insertions, 0 deletions
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