summaryrefslogtreecommitdiff
path: root/fuzz
diff options
context:
space:
mode:
authorAllen Webb <allenwebb@google.com>2018-11-20 14:53:35 -0800
committerchrome-bot <chrome-bot@chromium.org>2018-11-21 01:25:22 -0800
commit90f4c546b39336986686a620e43c2f66aab8d6b9 (patch)
tree2ac496aa7fb177c331e25cc9de83627c3a01a21f /fuzz
parent0e34395717cffd7c87455c2c34d0e5121027a0e1 (diff)
downloadchrome-ec-90f4c546b39336986686a620e43c2f66aab8d6b9.tar.gz
cr50_fuzz: fix nvmem_vars user number.
The CONFIG_FLASH_NVMEM_VARS_USER_NUM constant was incorrectly defined, so nvmem_vars was failing with EC_OVERFLOW. BRANCH=None BUG=None TEST=make -j buildfuzztests && ./build/host/cr50_fuzz/cr50_fuzz.exe Change-Id: I52facfd44423bb69284b54e6831e5e777cf35a05 Signed-off-by: Allen Webb <allenwebb@google.com> Reviewed-on: https://chromium-review.googlesource.com/1344800 Reviewed-by: Manoj Gupta <manojgupta@chromium.org>
Diffstat (limited to 'fuzz')
-rw-r--r--fuzz/fuzz_config.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/fuzz/fuzz_config.h b/fuzz/fuzz_config.h
index 04d69c3743..9a64166fa2 100644
--- a/fuzz/fuzz_config.h
+++ b/fuzz/fuzz_config.h
@@ -61,7 +61,7 @@ enum nvmem_users {
NVMEM_NUM_USERS
};
#endif
-#define CONFIG_FLASH_NVMEM_VARS_USER_NUM NVMEM_NUM_USERS
+#define CONFIG_FLASH_NVMEM_VARS_USER_NUM NVMEM_CR50
/******************************************************************************/
#define CONFIG_SW_CRC