From 6dcb789da9c04b9b4c9d4cff1a7602b72f97b1be Mon Sep 17 00:00:00 2001 From: Bill XIE Date: Thu, 4 May 2017 17:11:26 +0800 Subject: mb/gigabyte/ga-b75m-d3h: Add tpm support for its onboard tpm socket Tested against a lenovo-manufactured tpm 1.2 module: a /dev/tpm0 visible inside GNU/Linux, but there is no menu items in SeaBIOS' interface, which seems a common issue of SeaBIOS on ivb boards. Change-Id: Id0dee74d945bae5d77eb669d8b9d468a67aee508 Signed-off-by: Bill XIE Reviewed-on: https://review.coreboot.org/19521 Reviewed-by: Philipp Deppenwiese Tested-by: build bot (Jenkins) --- src/mainboard/gigabyte/ga-b75m-d3h/Kconfig | 2 ++ src/mainboard/gigabyte/ga-b75m-d3h/devicetree.cb | 4 ++++ 2 files changed, 6 insertions(+) diff --git a/src/mainboard/gigabyte/ga-b75m-d3h/Kconfig b/src/mainboard/gigabyte/ga-b75m-d3h/Kconfig index a9fd50d2ec..4b4909a29c 100644 --- a/src/mainboard/gigabyte/ga-b75m-d3h/Kconfig +++ b/src/mainboard/gigabyte/ga-b75m-d3h/Kconfig @@ -18,6 +18,8 @@ config BOARD_SPECIFIC_OPTIONS select UDELAY_TSC select SERIRQ_CONTINUOUS_MODE select MAINBOARD_HAS_LIBGFXINIT + select MAINBOARD_HAS_LPC_TPM + select TPM config MMCONF_BASE_ADDRESS hex diff --git a/src/mainboard/gigabyte/ga-b75m-d3h/devicetree.cb b/src/mainboard/gigabyte/ga-b75m-d3h/devicetree.cb index 2cd3816d46..3659354c51 100644 --- a/src/mainboard/gigabyte/ga-b75m-d3h/devicetree.cb +++ b/src/mainboard/gigabyte/ga-b75m-d3h/devicetree.cb @@ -109,6 +109,10 @@ chip northbridge/intel/sandybridge device pnp 2e.7 off end # GPIO device pnp 2e.a off end # IR end + + chip drivers/pc80/tpm + device pnp 0c31.0 on end + end end device pci 1f.2 on # SATA Controller 1 subsystemid 0x1458 0xb005 -- cgit v1.2.3