summaryrefslogtreecommitdiffstats
path: root/board/w7o/flash.c
diff options
context:
space:
mode:
Diffstat (limited to 'board/w7o/flash.c')
-rw-r--r--board/w7o/flash.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/board/w7o/flash.c b/board/w7o/flash.c
index 0048476236..5651e1cfdd 100644
--- a/board/w7o/flash.c
+++ b/board/w7o/flash.c
@@ -83,7 +83,7 @@ unsigned long flash_init (void)
/* Monitor protection ON by default */
(void)flash_protect(FLAG_PROTECT_SET,
- base_b0 + size_b0 - CFG_MONITOR_LEN,
+ base_b0 + size_b0 - monitor_flash_len,
base_b0 + size_b0 - 1,
&flash_info[0]);
OpenPOWER on IntegriCloud