coreboot/src/drivers/i2c
Julius Werner a69ac7861b i2c/tpm: Ignore 0xFF bytes for status and burstCount
We've found that the SLB9645 TPM sometimes seems to randomly start
returning 0xFF bytes for all requests. The exact cause is yet unknown,
but we should try to write our TIS code such that it avoids bad
interactions with this kind of response (e.g. any wait_for_status()
immediately succeeds because all "status bits" are set in the response).
At least for status and burstCount readings we can say for sure that the
value is nonsensical and we're already reading those in a loop until we
get valid results anyway, so let's add code to explicitly discount 0xFF
bytes.

BRANCH=oak
BUG=chrome-os-partner:55764
TEST=None

Change-Id: I934d42c36d6847a22a185795cea49d282fa113d9
Signed-off-by: Julius Werner <jwerner@chromium.org>
Reviewed-on: https://chromium-review.googlesource.com/420470
Reviewed-by: Nicolas Boichat <drinkcat@chromium.org>
Reviewed-on: https://review.coreboot.org/18006
Tested-by: build bot (Jenkins)
Reviewed-by: Martin Roth <martinroth@google.com>
2017-01-03 22:13:19 +01:00
..
adm1026 drivers: Use DEVICE_NOOP macro over dummy symbol 2014-11-01 21:14:07 +01:00
adm1027 drivers: Use DEVICE_NOOP macro over dummy symbol 2014-11-01 21:14:07 +01:00
adt7463 tree: drop last paragraph of GPL copyright header 2015-10-31 21:37:39 +01:00
alps drivers/i2c: Pass in i2c_generic_config into i2c_generic_fill_ssdt 2016-12-15 17:26:07 +01:00
at24rf08c src/drivers: Remove whitespace after memcpy & memset 2016-10-07 18:06:48 +02:00
da7219 drivers/i2c/da7219: Add driver for generating device in SSDT 2016-07-08 17:22:16 +02:00
generic drivers/i2c/generic: Allow mainboards to export reset and enable GPIOs 2016-12-16 18:26:22 +01:00
hid drivers/i2c/hid: Add generic I2C HID driver 2016-12-16 01:38:26 +01:00
i2cmux devicetree: Discriminate device ops scan_bus() 2015-06-04 11:19:01 +02:00
i2cmux2 devicetree: Discriminate device ops scan_bus() 2015-06-04 11:19:01 +02:00
lm63 drivers: Use DEVICE_NOOP macro over dummy symbol 2014-11-01 21:14:07 +01:00
nau8825 acpi: Change device properties to work as a tree 2016-07-08 17:21:26 +02:00
pcf8523 pcf8523: Fix wrong initialization of several registers 2016-12-15 04:11:06 +01:00
rtd2132 tree: drop last paragraph of GPL copyright header 2015-10-31 21:37:39 +01:00
tpm i2c/tpm: Ignore 0xFF bytes for status and burstCount 2017-01-03 22:13:19 +01:00
w83793 tree: drop last paragraph of GPL copyright header 2015-10-31 21:37:39 +01:00
w83795 i2c/w83795: Fix chip type message 2016-08-02 14:02:59 +02:00
wacom drivers/i2c: Pass in i2c_generic_config into i2c_generic_fill_ssdt 2016-12-15 17:26:07 +01:00
ww_ring Gale: Fix the orange color to match the UX doc 2016-10-07 17:54:48 +02:00