summaryrefslogtreecommitdiff
path: root/board/esd/pci405/flash.c
diff options
context:
space:
mode:
Diffstat (limited to 'board/esd/pci405/flash.c')
-rw-r--r--board/esd/pci405/flash.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/board/esd/pci405/flash.c b/board/esd/pci405/flash.c
index f904affc4f6..1707dcf6e19 100644
--- a/board/esd/pci405/flash.c
+++ b/board/esd/pci405/flash.c
@@ -91,7 +91,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]);