diff options
author | Vadim Bendebury <vbendeb@chromium.org> | 2016-10-03 14:08:42 -0700 |
---|---|---|
committer | chrome-bot <chrome-bot@chromium.org> | 2016-10-04 00:33:58 -0700 |
commit | 0f7d6806b77657e6248247fa89b862ce948f1698 (patch) | |
tree | 01431951729c697ead81f295d650ea8c3e6b5bf6 /util/signer/ec_RW-manifest-kevin_evt_1.json | |
parent | 240d03b780d1b4c91eb5a0e439e0c50af2d66888 (diff) | |
download | chrome-ec-0f7d6806b77657e6248247fa89b862ce948f1698.tar.gz |
i2cs: reset local variables when reinitializing.
When tpm is reset the i2c slave interface initialization function is
called, but it does not quite re-initialize the interface.
This patch adds both a hardware pulse to make sure that the i2c slave
interface state machine is set into the initial state, and code to
zero static variables of the driver.
BRANCH=none
BUG=none
TEST=with the change on the AP firmware side which prevents losing i2c
ready interrupts early in the process tpm reset became much more
reliable. Resetting from EC, AP of cr50 consoles reliably
restarts reef without any TPM communications problems.
Change-Id: I604607c32d4dfc554b245d3d3d82b9ad38271962
Signed-off-by: Vadim Bendebury <vbendeb@chromium.org>
Reviewed-on: https://chromium-review.googlesource.com/392306
Reviewed-by: Scott Collyer <scollyer@chromium.org>
Diffstat (limited to 'util/signer/ec_RW-manifest-kevin_evt_1.json')
0 files changed, 0 insertions, 0 deletions