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.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/board/funkwerk/vovpn-gw/flash.c b/board/funkwerk/vovpn-gw/flash.c
index 935adfa..0308611 100644
--- a/board/funkwerk/vovpn-gw/flash.c
+++ b/board/funkwerk/vovpn-gw/flash.c
@@ -153,8 +153,8 @@ flash_init(void)
#endif
#ifdef CONFIG_ENV_IS_IN_FLASH
flash_protect(FLAG_PROTECT_SET,
- CFG_ENV_ADDR,
- CFG_ENV_ADDR+CFG_ENV_SECT_SIZE-1,
+ CONFIG_ENV_ADDR,
+ CONFIG_ENV_ADDR+CONFIG_ENV_SECT_SIZE-1,
&flash_info[0]);
#endif
return (size);