summaryrefslogtreecommitdiff
path: root/tools/envcrc.c
diff options
context:
space:
mode:
Diffstat (limited to 'tools/envcrc.c')
-rw-r--r--tools/envcrc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/envcrc.c b/tools/envcrc.c
index 09051800364..7f680fb8a95 100644
--- a/tools/envcrc.c
+++ b/tools/envcrc.c
@@ -40,7 +40,7 @@
# endif
#endif /* CONFIG_ENV_IS_IN_FLASH */
-#ifdef CONFIG_SYS_REDUNDAND_ENVIRONMENT
+#ifdef CONFIG_ENV_REDUNDANT
# define ENV_HEADER_SIZE (sizeof(uint32_t) + 1)
#else
# define ENV_HEADER_SIZE (sizeof(uint32_t))