diff options
author | Vadim Bendebury <vbendeb@chromium.org> | 2017-08-17 20:09:14 -0700 |
---|---|---|
committer | chrome-bot <chrome-bot@chromium.org> | 2017-08-23 12:19:07 -0700 |
commit | e24bd63fae46ca1abe1d58257f3dbfe924e9a94b (patch) | |
tree | 7ce21e7e207d340e36b637e82471c3011841a054 /board | |
parent | 940b88754c686352a8cbfacf82c5167f486d8f8f (diff) | |
download | chrome-ec-e24bd63fae46ca1abe1d58257f3dbfe924e9a94b.tar.gz |
cr50: log tpm reset event
Use the previously introduced TPM logging framework to log TPM reset
events. The two lowest data field bits are used to communicate the
type of reset passed to tpm_reset_request(),
BRANCH=cr50
BUG=b:63760920
TEST=with the upcoming patches verified that TPM initialization is
logged as expected
Change-Id: Ic0874723ec6df616a8237b036542398b29fe5ccc
Signed-off-by: Vadim Bendebury <vbendeb@chromium.org>
Reviewed-on: https://chromium-review.googlesource.com/620113
Reviewed-by: Mary Ruthven <mruthven@chromium.org>
Reviewed-by: Shawn N <shawnn@chromium.org>
Diffstat (limited to 'board')
-rw-r--r-- | board/cr50/board.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/board/cr50/board.h b/board/cr50/board.h index db47101953..27faa9341a 100644 --- a/board/cr50/board.h +++ b/board/cr50/board.h @@ -146,6 +146,8 @@ /* Implement custom udelay, due to usec hwtimer imprecision. */ #define CONFIG_HW_SPECIFIC_UDELAY +#define CONFIG_TPM_LOGGING + #ifndef __ASSEMBLER__ #include "gpio_signal.h" |