summaryrefslogtreecommitdiff
path: root/src/mainboard/facebook/watson
diff options
context:
space:
mode:
authorzaolin <zaolin.daisuki@gmail.com>2019-03-06 23:19:53 +0100
committerPhilipp Deppenwiese <zaolin.daisuki@gmail.com>2019-03-12 00:06:43 +0000
commit0515ceb9a9ae0fee124362a0a34e73076c4c8198 (patch)
tree62b2c6ba82f3962d18a09e7bc634cbf86ef4aa78 /src/mainboard/facebook/watson
parent44a597787aabef994500445b83e20519f869fd8d (diff)
mb/facebook/watson: Enable TPM 1.2 support
Enable TPM 1.2 via Kconfig options and devicetree. Change-Id: I394195b3117c8583b6b506d6ad4f5170d2f45f9f Signed-off-by: Philipp Deppenwiese <zaolin.daisuki@gmail.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/31792 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: David Hendricks <david.hendricks@gmail.com>
Diffstat (limited to 'src/mainboard/facebook/watson')
-rw-r--r--src/mainboard/facebook/watson/Kconfig2
-rw-r--r--src/mainboard/facebook/watson/devicetree.cb6
2 files changed, 7 insertions, 1 deletions
diff --git a/src/mainboard/facebook/watson/Kconfig b/src/mainboard/facebook/watson/Kconfig
index 00bdbea615..609b14a43a 100644
--- a/src/mainboard/facebook/watson/Kconfig
+++ b/src/mainboard/facebook/watson/Kconfig
@@ -9,6 +9,8 @@ config BOARD_SPECIFIC_OPTIONS
select INTEGRATED_UART
select SERIRQ_CONTINUOUS_MODE
select MAINBOARD_USES_IFD_GBE_REGION
+ select MAINBOARD_HAS_LPC_TPM
+ select MAINBOARD_HAS_TPM1
config MAINBOARD_DIR
string
diff --git a/src/mainboard/facebook/watson/devicetree.cb b/src/mainboard/facebook/watson/devicetree.cb
index 30d99c22eb..92fe9c3000 100644
--- a/src/mainboard/facebook/watson/devicetree.cb
+++ b/src/mainboard/facebook/watson/devicetree.cb
@@ -7,7 +7,11 @@ chip soc/intel/fsp_broadwell_de
device pci 14.0 on end # xHCI Controller
device pci 19.0 on end # Gigabit LAN Controller
device pci 1d.0 on end # EHCI Controller
- 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
device pci 1f.3 on end # SMBus Controller
device pci 1f.5 on end # SATA Controller