aboutsummaryrefslogtreecommitdiff
path: root/src/mainboard/hp/snb_ivb_laptops/devicetree.cb
diff options
context:
space:
mode:
authorIru Cai <mytbk920423@gmail.com>2020-05-08 21:41:29 +0800
committerPatrick Georgi <pgeorgi@google.com>2020-08-17 06:25:42 +0000
commit2a59db7573625148bea70f9cf633544f6c2e21ae (patch)
tree7295e421b817221d70edabe20a6b3d253792e1d4 /src/mainboard/hp/snb_ivb_laptops/devicetree.cb
parent1bda1c356a7423cfaf5271597180bd4383662a9b (diff)
mb/hp: select TPM and TPM1 for all EliteBook laptops
All the Sandy/Ivy Bridge EliteBook and ProBook laptops currently supported by coreboot and on review all support TPM 1.2 according the maintenance and service guide manuals of these laptops. So select the Kconfig options of TPM and TPM 1.2 and add the entry of it to the common device tree. The device tree C source files of 8460p generated by sconfig before and after this change are compared. All the device nodes still exist with nodes under LPC having different device number. Tested with 2560p, which still works without problems, and the TPM can be detected and used in the system. Change-Id: Ic6158d3346a55e3d09c0a4ced9fd141b9a6c4256 Signed-off-by: Iru Cai <mytbk920423@gmail.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/41169 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Angel Pons <th3fanbus@gmail.com>
Diffstat (limited to 'src/mainboard/hp/snb_ivb_laptops/devicetree.cb')
-rw-r--r--src/mainboard/hp/snb_ivb_laptops/devicetree.cb6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/mainboard/hp/snb_ivb_laptops/devicetree.cb b/src/mainboard/hp/snb_ivb_laptops/devicetree.cb
index 4c291a8bd1..ae99b61562 100644
--- a/src/mainboard/hp/snb_ivb_laptops/devicetree.cb
+++ b/src/mainboard/hp/snb_ivb_laptops/devicetree.cb
@@ -47,7 +47,11 @@ chip northbridge/intel/sandybridge
device pci 1b.0 on end # HD Audio controller
device pci 1d.0 on end # USB2 EHCI #1
device pci 1e.0 off end # PCI bridge
- device pci 1f.0 on end # LPC bridge
+ device pci 1f.0 on # LPC bridge
+ chip drivers/pc80/tpm
+ device pnp 0c31.0 on end
+ end
+ end
device pci 1f.2 on end # SATA Controller 1
device pci 1f.3 on end # SMBus
device pci 1f.5 off end # SATA Controller 2