diff options
author | Allen Webb <allenwebb@google.com> | 2018-02-28 15:42:47 -0800 |
---|---|---|
committer | chrome-bot <chrome-bot@chromium.org> | 2018-04-27 12:22:26 -0700 |
commit | 1820ecce31e6a23e5ab79f708f66a8655da6a161 (patch) | |
tree | 9c4f09621ec2282208cfed21de76f8172fc9c888 /test/test_config.h | |
parent | 826a3876b4f3ecd5f73d2320ee1e853a789e6e30 (diff) | |
download | chrome-ec-1820ecce31e6a23e5ab79f708f66a8655da6a161.tar.gz |
Cr50: Add logging functionality to PinWeaver.
In order to be able to recover from the AP and Cr50 getting out of
sync, this logging functionality gives Cr50 a way to track the
state changes of the merkle tree so that the AP can be updated to
the current state as long as it has a recent enough copy.
This involves packing the important information so it can be stored
efficiently on flash, and adding the necessary messages for the
replay.
CQ-DEPEND=CL:895395,CL:929430
BRANCH=none
BUG=chromium:809729, chromium:809745
TEST=cd ~/src/platform/ec && V=1 make run-weaver_ng -j
Change-Id: I40f98de2c8e9706cccb5b922215699f2132fa121
Signed-off-by: Allen Webb <allenwebb@google.com>
Reviewed-on: https://chromium-review.googlesource.com/963773
Reviewed-by: Vadim Bendebury <vbendeb@chromium.org>
Diffstat (limited to 'test/test_config.h')
-rw-r--r-- | test/test_config.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/test_config.h b/test/test_config.h index dd14aad6b2..8542a17e0a 100644 --- a/test/test_config.h +++ b/test/test_config.h @@ -262,7 +262,7 @@ enum nvmem_vars { #ifdef TEST_PINWEAVER #define CONFIG_PINWEAVER #define CONFIG_SHA256 -#endif +#endif /* TEST_PINWEAVER */ #ifdef TEST_RTC #define CONFIG_HOSTCMD_RTC |