diff options
author | Kangheui Won <khwon@chromium.org> | 2020-11-09 17:49:48 +1100 |
---|---|---|
committer | Patrick Georgi <pgeorgi@google.com> | 2020-11-16 11:00:57 +0000 |
commit | b2c39b563a29c1e7057faa40957345c2b0faecd5 (patch) | |
tree | 89e9ec1c80e6d11dbd6fb6d4f639599e6d7e4109 /src/superio/fintek | |
parent | 93231b45e4db858825d46fe8594200faf657df4d (diff) |
drivers/i2c/dw: Check for TX_ABORT in transfer
When the host sends data in i2c bus, device might not send ACK. It means
that data is not processed on the device side, but for now we don't
check for that condition thus wait for the response which will not come.
Designware i2c detect such situation and set TX_ABORT bit. Checking for
the bit will enable other layers to immediately retry rather than
wait-timeout-retry cycle.
BUG=b:168838505
BRANCH=zork
TEST=test on zork devices, now we see "Tx abort detected" instead of I2C
timeout for tpm initializtion.
Change-Id: Ib0163fbce55ccc99f677dbb096f67a58d2ef2bda
Signed-off-by: Kangheui Won <khwon@chromium.org>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/47360
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Furquan Shaikh <furquan@google.com>
Diffstat (limited to 'src/superio/fintek')
0 files changed, 0 insertions, 0 deletions