summaryrefslogtreecommitdiff
path: root/board/c2mon
diff options
context:
space:
mode:
Diffstat (limited to 'board/c2mon')
-rw-r--r--board/c2mon/flash.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/board/c2mon/flash.c b/board/c2mon/flash.c
index b2be21c6845..2a5e050abbd 100644
--- a/board/c2mon/flash.c
+++ b/board/c2mon/flash.c
@@ -95,7 +95,7 @@ unsigned long flash_init (void)
&flash_info[0]);
#endif
-#ifdef CFG_ENV_IS_IN_FLASH
+#ifdef CONFIG_ENV_IS_IN_FLASH
/* ENV protection ON by default */
flash_protect(FLAG_PROTECT_SET,
CFG_ENV_ADDR,
@@ -122,7 +122,7 @@ unsigned long flash_init (void)
&flash_info[1]);
#endif
-#ifdef CFG_ENV_IS_IN_FLASH
+#ifdef CONFIG_ENV_IS_IN_FLASH
/* ENV protection ON by default */
flash_protect(FLAG_PROTECT_SET,
CFG_ENV_ADDR,