[coreboot-gerrit] Change in coreboot[master]: wedge100s: Add TPM support

Philipp Deppenwiese (Code Review) gerrit at coreboot.org
Fri Sep 7 13:00:03 CEST 2018


Philipp Deppenwiese has submitted this change and it was merged. ( https://review.coreboot.org/28529 )

Change subject: wedge100s: Add TPM support
......................................................................

wedge100s: Add TPM support

Change-Id: Id7e8ad63de2a6094c66cbd47ae9b7707a9af4e81
Signed-off-by: Mikolaj Walczak <mwalczak at fb.com>
Reviewed-on: https://review.coreboot.org/28529
Reviewed-by: Philipp Deppenwiese <zaolin.daisuki at gmail.com>
Tested-by: build bot (Jenkins) <no-reply at coreboot.org>
---
M src/mainboard/ocp/wedge100s/Kconfig
M src/mainboard/ocp/wedge100s/devicetree.cb
2 files changed, 7 insertions(+), 1 deletion(-)

Approvals:
  build bot (Jenkins): Verified
  Philipp Deppenwiese: Looks good to me, approved



diff --git a/src/mainboard/ocp/wedge100s/Kconfig b/src/mainboard/ocp/wedge100s/Kconfig
index 56bd2bb..5d4349d 100644
--- a/src/mainboard/ocp/wedge100s/Kconfig
+++ b/src/mainboard/ocp/wedge100s/Kconfig
@@ -13,6 +13,8 @@
 	select FSP_EHCI1_ENABLE
 	select MRC_CACHE_FMAP
 	select ENABLE_FSP_FAST_BOOT
+	select MAINBOARD_HAS_LPC_TPM
+	select MAINBOARD_HAS_TPM1
 
 config MAINBOARD_DIR
 	string
diff --git a/src/mainboard/ocp/wedge100s/devicetree.cb b/src/mainboard/ocp/wedge100s/devicetree.cb
index 30d99c2..3d66d0d 100644
--- a/src/mainboard/ocp/wedge100s/devicetree.cb
+++ b/src/mainboard/ocp/wedge100s/devicetree.cb
@@ -7,7 +7,11 @@
 		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
+			chip drivers/pc80/tpm
+				device pnp 0c31.0 on end
+			end
+		end # LPC Bridge
 		device pci 1f.2 on end # SATA Controller
 		device pci 1f.3 on end # SMBus Controller
 		device pci 1f.5 on end # SATA Controller

-- 
To view, visit https://review.coreboot.org/28529
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings

Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-MessageType: merged
Gerrit-Change-Id: Id7e8ad63de2a6094c66cbd47ae9b7707a9af4e81
Gerrit-Change-Number: 28529
Gerrit-PatchSet: 5
Gerrit-Owner: Mikołaj Walczak (1002108)
Gerrit-Reviewer: Mikołaj Walczak (1002108)
Gerrit-Reviewer: Philipp Deppenwiese <zaolin.daisuki at gmail.com>
Gerrit-Reviewer: build bot (Jenkins) <no-reply at coreboot.org>
Gerrit-CC: Andrea Barberio <insomniac at slackware.it>
Gerrit-CC: Paul Menzel <paulepanter at users.sourceforge.net>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.coreboot.org/pipermail/coreboot-gerrit/attachments/20180907/70f866c3/attachment.html>


More information about the coreboot-gerrit mailing list