google/reef: Enable I2C TPM

Hardware / Coreboot - Duncan Laurie [chromium.org] - 6 September 2016 15:58 UTC

Enable the I2C based TPM on the reef board at bus 2 and address 0x50.

This makes vboot functional without needing MOCK_TPM and results in the following in the SSDT:

Device (TPMI) { Name (_HID, "GOOG0005") // _HID: Hardware ID Name (_UID, Zero) // _UID: Unique ID Name (_DDN, "I2C TPM") // _DDN: DOS Device Name Method (_STA, 0, NotSerialized) // _STA: Status { Return (0x0F) }

Name (_CRS, ResourceTemplate () // _CRS: Current Resource Settings { I2cSerialBus (0x0050, ControllerInitiated, 0x00061A80, AddressingMode7Bit, "\\_SB.PCI0.I2C2", 0x00, ResourceConsumer) Interrupt (ResourceConsumer, Edge, ActiveLow, Exclusive) { 0x00000039 } }) }

Change-Id: Ia9775caabeac3e6a3bd72de38f9611b4cea7cea4

c287587 google/reef: Enable I2C TPM
src/mainboard/google/reef/Kconfig | 10 +++++++++-
src/mainboard/google/reef/devicetree.cb | 8 +++++++-
2 files changed, 16 insertions(+), 2 deletions(-)

Upstream: review.coreboot.org


  • Share