summaryrefslogtreecommitdiff
path: root/board/esd/dasa_sim/flash.c
diff options
context:
space:
mode:
Diffstat (limited to 'board/esd/dasa_sim/flash.c')
-rw-r--r--board/esd/dasa_sim/flash.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/board/esd/dasa_sim/flash.c b/board/esd/dasa_sim/flash.c
index 2574eac..32cd64c 100644
--- a/board/esd/dasa_sim/flash.c
+++ b/board/esd/dasa_sim/flash.c
@@ -67,7 +67,7 @@ unsigned long flash_init (void)
/* Monitor protection ON by default */
(void)flash_protect(FLAG_PROTECT_SET,
- -CFG_MONITOR_LEN,
+ -monitor_flash_len,
0xffffffff,
&flash_info[0]);