summaryrefslogtreecommitdiff
path: root/include/tpm_log.h
diff options
context:
space:
mode:
authorVadim Bendebury <vbendeb@chromium.org>2017-08-17 20:19:08 -0700
committerchrome-bot <chrome-bot@chromium.org>2017-08-23 12:19:07 -0700
commit52527acbfb4267db45df05a08ebb7a1a30682e61 (patch)
tree4c54e4c85dd0dfb965590e5e43dbf75a8d1d1378 /include/tpm_log.h
parente24bd63fae46ca1abe1d58257f3dbfe924e9a94b (diff)
downloadchrome-ec-52527acbfb4267db45df05a08ebb7a1a30682e61.tar.gz
cr50: log I2C slave 'wedged bus recovery' event
We want to be able to collect statistics of the i2c bus problems. This patch logs an event each time the wedged bus recovery happens. BRANCH=cr50 BUG=b:63760920 TEST=with the upcoming patches verified that i2c recovery events are logged as expected. Change-Id: I1241b2dece33f89cd724d53a48f94e17f4415c62 Signed-off-by: Vadim Bendebury <vbendeb@chromium.org> Reviewed-on: https://chromium-review.googlesource.com/620114 Reviewed-by: Mary Ruthven <mruthven@chromium.org> Reviewed-by: Shawn N <shawnn@chromium.org>
Diffstat (limited to 'include/tpm_log.h')
-rw-r--r--include/tpm_log.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/tpm_log.h b/include/tpm_log.h
index d934560290..cb1b6e099a 100644
--- a/include/tpm_log.h
+++ b/include/tpm_log.h
@@ -10,7 +10,7 @@
enum tpm_event {
TPM_EVENT_INIT,
- /* TODO: Add log events */
+ TPM_I2C_RESET,
};
/* Log TPM event of given type with data payload. */