diff options
author | Mary Ruthven <mruthven@chromium.org> | 2019-03-05 19:30:27 -0800 |
---|---|---|
committer | chrome-bot <chrome-bot@chromium.org> | 2019-04-05 13:43:57 -0700 |
commit | 678bb4526ef19ef9458910d0231722b0de4c5ddf (patch) | |
tree | dccb5dc0d61a8a9737a7e18853966acdf99d1668 /include/flash_log.h | |
parent | 45f07e203612b2551d1b32df394bed78ad3a2ff5 (diff) | |
download | chrome-ec-678bb4526ef19ef9458910d0231722b0de4c5ddf.tar.gz |
cr50: use board_wipe_tpm to clear the tpm
We were clearing the tpm in two different ways. There was one
implementation in factory_mode.c and one in wp.c. This change merges the
two, so there's only one board_wipe_tpm.
While modifying the wipe tpm code from factory_mode.c I noticed the
factory_enable_failed stuff is maybe a bit more complicated than
necessary. I opened a bug for cleaning that up(b/129956462). It wont be
addressed in this change.
BUG=none
BRANCH=none
TEST=Run the processes that wipe the tpm
open ccd.
enable factory mode from vendor command.
run rma open process
Change-Id: Ia76df19f7d9e4f308f3f1a7175f130f1ef7249a2
Signed-off-by: Mary Ruthven <mruthven@chromium.org>
Reviewed-on: https://chromium-review.googlesource.com/1535156
Reviewed-by: Vadim Bendebury <vbendeb@chromium.org>
Diffstat (limited to 'include/flash_log.h')
-rw-r--r-- | include/flash_log.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/flash_log.h b/include/flash_log.h index b4882ebe36..cfdaf46ce8 100644 --- a/include/flash_log.h +++ b/include/flash_log.h @@ -18,6 +18,7 @@ enum flash_event_type { FE_LOG_OVERFLOWS = 3, /* A single byte, overflow counter. */ FE_LOG_LOCKS = 4, /* A single byte, lock failures counter. */ FE_LOG_NVMEM = 5, /* NVMEM failure, variable structure. */ + FE_LOG_TPM_WIPE_ERROR = 6, /* Failed to wipe the TPM */ /* * Fixed padding value makes it easier to parse log space |