]> git.kernelconcepts.de Git - karo-tx-uboot.git/blobdiff - board/r360mpi/flash.c
* Get (mostly) rid of CFG_MONITOR_LEN definition; compute real length
[karo-tx-uboot.git] / board / r360mpi / flash.c
index fef483c3f8267f12d4a4b74d3b6d8acc7aaa31e4..9b42960c7d3e63f3fcdfec14b3b27cc05a34ed6c 100644 (file)
@@ -107,7 +107,7 @@ unsigned long flash_init (void)
        /* monitor protection ON by default */
        (void) flash_protect (FLAG_PROTECT_SET,
                                CFG_FLASH_BASE,
-                               CFG_FLASH_BASE + CFG_MONITOR_LEN - 1,
+                               CFG_FLASH_BASE + monitor_flash_len - 1,
                                &flash_info[0]);
 #endif