summaryrefslogtreecommitdiff
path: root/board/LEOX/elpt860
diff options
context:
space:
mode:
Diffstat (limited to 'board/LEOX/elpt860')
-rw-r--r--board/LEOX/elpt860/flash.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/board/LEOX/elpt860/flash.c b/board/LEOX/elpt860/flash.c
index c1b3b85..d77af35 100644
--- a/board/LEOX/elpt860/flash.c
+++ b/board/LEOX/elpt860/flash.c
@@ -122,7 +122,7 @@ 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,