diff options
author | Vadim Bendebury <vbendeb@chromium.org> | 2019-07-29 17:19:47 -0700 |
---|---|---|
committer | Commit Bot <commit-bot@chromium.org> | 2019-07-31 19:19:15 +0000 |
commit | a7f759a384ca2e1ff0daf559949a40d45aa76863 (patch) | |
tree | 53f7f436773b6416a58050779d31e0f2ed47b9cd /include | |
parent | 74340f2dbe5ededa6cd466d32a727c7df977b956 (diff) | |
download | chrome-ec-a7f759a384ca2e1ff0daf559949a40d45aa76863.tar.gz |
g: add flash log entry for dcrypto failuresstabilize-12386.B
We want to keep an eye on the dcrypto failures (which are never
supposed to happen of course). Let's add logging a flash event so that
the failures are visible through UMA.
BRANCH=cr50, cr50-mp
BUG=b:135772657
TEST=using additional code simulated a single failure, observed new
flash log entry by running 'gsctool -a -L' on the DUT.
Change-Id: Ib675bb1928166cadc069bf4be3b053a9cf837077
Signed-off-by: Vadim Bendebury <vbendeb@chromium.org>
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/1723097
Reviewed-by: Mary Ruthven <mruthven@chromium.org>
Diffstat (limited to 'include')
-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 3e2dca8c2c..bb4baf651c 100644 --- a/include/flash_log.h +++ b/include/flash_log.h @@ -20,6 +20,7 @@ enum flash_event_type { FE_LOG_NVMEM = 5, /* NVMEM failure, variable structure. */ FE_LOG_TPM_WIPE_ERROR = 6, /* Failed to wipe the TPM */ FE_LOG_TRNG_STALL = 7, /* Stall while retrieving a random number. */ + FE_LOG_DCRYPTO_FAILURE = 8, /* Dcrypto had to be reset. */ /* * Fixed padding value makes it easier to parse log space |