diff options
author | Bill XIE <persmule@gmail.com> | 2017-05-04 17:11:26 +0800 |
---|---|---|
committer | Martin Roth <martinroth@google.com> | 2017-05-09 18:05:48 +0200 |
commit | 6dcb789da9c04b9b4c9d4cff1a7602b72f97b1be (patch) | |
tree | 88ed9afbafe9a9f2702a7fcf2882e735166d05d9 /src/mainboard/gigabyte | |
parent | 1f064d75515c0ce7e4cc35a55dddb3d3fde25ff4 (diff) |
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 <persmule@gmail.com>
Reviewed-on: https://review.coreboot.org/19521
Reviewed-by: Philipp Deppenwiese <zaolin.daisuki@gmail.com>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Diffstat (limited to 'src/mainboard/gigabyte')
-rw-r--r-- | src/mainboard/gigabyte/ga-b75m-d3h/Kconfig | 2 | ||||
-rw-r--r-- | src/mainboard/gigabyte/ga-b75m-d3h/devicetree.cb | 4 |
2 files changed, 6 insertions, 0 deletions
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 |