the following patch was just integrated into master: commit 1ca196841ac4db46d8d9c3c55004c3e9ee3c8844 Author: Duncan Laurie dlaurie@chromium.org Date: Wed Sep 7 10:52:12 2016 -0700
drivers/i2c/tpm: Fix early TPM probe
The early TPM probe was done directly in tis.c ignoring the lower layer that provides appropriate access to the chip. Move this into a tpm_vendor_probe() function so it can use iic_tpm_read() with all of the built-in delays and semantics instead of calling i2c_readb() directly from the wrong layer.
This fixes early init failures that were seen with the cr50 i2c tpm on the reef mainboard.
Change-Id: I9bb3b820d10f6e2ea24c57b90cf0edc813cdc7e0 Signed-off-by: Duncan Laurie dlaurie@chromium.org Reviewed-on: https://review.coreboot.org/16527 Tested-by: build bot (Jenkins) Reviewed-by: Aaron Durbin adurbin@chromium.org Reviewed-by: Furquan Shaikh furquan@google.com Reviewed-by: Paul Menzel paulepanter@users.sourceforge.net
See https://review.coreboot.org/16527 for details.
-gerrit