summaryrefslogtreecommitdiff
path: root/board/svm_sc8xx/flash.c
diff options
context:
space:
mode:
Diffstat (limited to 'board/svm_sc8xx/flash.c')
-rw-r--r--board/svm_sc8xx/flash.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/board/svm_sc8xx/flash.c b/board/svm_sc8xx/flash.c
index 25e61dd..267be78 100644
--- a/board/svm_sc8xx/flash.c
+++ b/board/svm_sc8xx/flash.c
@@ -152,7 +152,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,
@@ -179,7 +179,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,