]> git.sur5r.net Git - u-boot/blobdiff - board/icu862/flash.c
* Patch by Rahul Shanbhag, 28 Jan 2004:
[u-boot] / board / icu862 / flash.c
index 79e7cc28aeccb7e87237f61a5ef763c8167639fe..6315bd95b1193a6a9317203c4e2b0d724271b03f 100644 (file)
@@ -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