summaryrefslogtreecommitdiff
path: root/board/funkwerk/vovpn-gw
diff options
context:
space:
mode:
Diffstat (limited to 'board/funkwerk/vovpn-gw')
-rw-r--r--board/funkwerk/vovpn-gw/flash.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/board/funkwerk/vovpn-gw/flash.c b/board/funkwerk/vovpn-gw/flash.c
index 7dd0d3f..935adfa 100644
--- a/board/funkwerk/vovpn-gw/flash.c
+++ b/board/funkwerk/vovpn-gw/flash.c
@@ -151,7 +151,7 @@ flash_init(void)
CFG_MONITOR_FLASH+CFG_MONITOR_LEN-1,
&flash_info[0]);
#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_SECT_SIZE-1,