summaryrefslogtreecommitdiff
path: root/board/c2mon/flash.c
diff options
context:
space:
mode:
Diffstat (limited to 'board/c2mon/flash.c')
-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 b2be21c684..2a5e050abb 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,