diff options
Diffstat (limited to 'board/cpu86/flash.c')
-rw-r--r-- | board/cpu86/flash.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/board/cpu86/flash.c b/board/cpu86/flash.c index 8cf761f..0769dc5 100644 --- a/board/cpu86/flash.c +++ b/board/cpu86/flash.c @@ -218,14 +218,14 @@ unsigned long flash_init (void) flash_protect (FLAG_PROTECT_SET, CFG_MONITOR_BASE, - CFG_MONITOR_BASE + CFG_MONITOR_LEN - 1, &flash_info[1] + CFG_MONITOR_BASE + monitor_flash_len - 1, &flash_info[1] ); } #else #if CFG_MONITOR_BASE >= CFG_FLASH_BASE flash_protect (FLAG_PROTECT_SET, CFG_MONITOR_BASE, - CFG_MONITOR_BASE + CFG_MONITOR_LEN - 1, &flash_info[0] + CFG_MONITOR_BASE + monitor_flash_len - 1, &flash_info[0] ); #endif #endif |