X-Git-Url: https://git.sur5r.net/?a=blobdiff_plain;f=board%2Ficu862%2Fflash.c;h=6315bd95b1193a6a9317203c4e2b0d724271b03f;hb=b98fff1d6acc57cc54f01740028535ac095237cd;hp=79e7cc28aeccb7e87237f61a5ef763c8167639fe;hpb=affae2bff825c1a8d2cfeaf7b270188d251d39d2;p=u-boot diff --git a/board/icu862/flash.c b/board/icu862/flash.c index 79e7cc28ae..6315bd95b1 100644 --- a/board/icu862/flash.c +++ b/board/icu862/flash.c @@ -104,7 +104,7 @@ unsigned long flash_init (void) /* monitor protection ON by default */ flash_protect(FLAG_PROTECT_SET, CFG_MONITOR_BASE, - CFG_MONITOR_BASE+CFG_MONITOR_LEN-1, + CFG_MONITOR_BASE+monitor_flash_len-1, &flash_info[0]); #endif