summaryrefslogtreecommitdiffstats
path: root/board/pm520/flash.c
diff options
context:
space:
mode:
Diffstat (limited to 'board/pm520/flash.c')
-rw-r--r--board/pm520/flash.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/board/pm520/flash.c b/board/pm520/flash.c
index 4301b8c234..c899ad3404 100644
--- a/board/pm520/flash.c
+++ b/board/pm520/flash.c
@@ -119,7 +119,7 @@ unsigned long flash_init (void)
#endif
#endif
-#ifdef CFG_ENV_IS_IN_FLASH
+#ifdef CONFIG_ENV_IS_IN_FLASH
flash_protect ( FLAG_PROTECT_SET,
CFG_ENV_ADDR,
CFG_ENV_ADDR + CFG_ENV_SIZE - 1, &flash_info[0] );
OpenPOWER on IntegriCloud