diff options
Diffstat (limited to 'board/esd/cpci440')
-rw-r--r-- | board/esd/cpci440/strataflash.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/board/esd/cpci440/strataflash.c b/board/esd/cpci440/strataflash.c index 6f62866..de57318 100644 --- a/board/esd/cpci440/strataflash.c +++ b/board/esd/cpci440/strataflash.c @@ -200,7 +200,7 @@ unsigned long flash_init (void) #if 0 /* test-only */ /* Monitor protection ON by default */ #if (CFG_MONITOR_BASE >= CFG_FLASH_BASE) - for(i=0; flash_info[0].start[i] < CFG_MONITOR_BASE+CFG_MONITOR_LEN-1; i++) + for(i=0; flash_info[0].start[i] < CFG_MONITOR_BASE+monitor_flash_len-1; i++) (void)flash_real_protect(&flash_info[0], i, 1); #endif #endif |