summaryrefslogtreecommitdiff
path: root/fuzz
diff options
context:
space:
mode:
authorLouis Collard <louiscollard@chromium.org>2019-08-12 16:21:02 +0800
committerCommit Bot <commit-bot@chromium.org>2019-08-23 09:09:18 +0000
commitba6067286a1659fc946dbbbe511b5c6413dc2138 (patch)
tree81db43a2c728b0ec3c104fd9ea6bc001adac23f1 /fuzz
parent84ba4bb756187dac279c70fe6915e3437199d040 (diff)
downloadchrome-ec-ba6067286a1659fc946dbbbe511b5c6413dc2138.tar.gz
cr50: Delete non-volatile counter API
This counter was only used by the legacy U2F implementation, which is no longer required. This change deletes the code for the counter, but does not update the flash config to make use of the pages previously occupied by the counter. Since this code is already unused, and therefore already dropped from built firmware images, this change does not have any impact on image size. A follow up change can alter the flash config to reclaim and repurpose the 2KB per partition previously used by the counter. BRANCH=none BUG=b:138459918 TEST=make buildall -j Signed-off-by: Louis Collard <louiscollard@chromium.org> Change-Id: I18892e1eb0224b96caa531293403b0b02f28a32b Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/1748848 Reviewed-by: Andrey Pronin <apronin@chromium.org>
Diffstat (limited to 'fuzz')
-rw-r--r--fuzz/fuzz_config.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/fuzz/fuzz_config.h b/fuzz/fuzz_config.h
index cbc0332ab0..105fa26bd4 100644
--- a/fuzz/fuzz_config.h
+++ b/fuzz/fuzz_config.h
@@ -35,7 +35,6 @@
#define CONFIG_FLASH_LOG
#define CONFIG_FLASH_LOG_BASE CONFIG_PROGRAM_MEMORY_BASE
#define CONFIG_FLASH_LOG_SPACE 0x800
-#define CONFIG_FLASH_NVCOUNTER
#define CONFIG_FLASH_NVCTR_SIZE CONFIG_FLASH_BANK_SIZE
#define CONFIG_FLASH_NVCTR_BASE_A (CONFIG_PROGRAM_MEMORY_BASE + \
CFG_TOP_A_OFF)