]> git.kernelconcepts.de Git - karo-tx-uboot.git/blobdiff - board/gen860t/flash.c
* Get (mostly) rid of CFG_MONITOR_LEN definition; compute real length
[karo-tx-uboot.git] / board / gen860t / flash.c
index 902b1b0afe63f6ba69255bf3c9920e79850189df..ec32d07dbf2542893b673a762b64c53446efd988 100644 (file)
@@ -157,7 +157,7 @@ flash_init (void)
         */
        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