]> git.kernelconcepts.de Git - karo-tx-uboot.git/blobdiff - board/cray/L1/flash.c
* Get (mostly) rid of CFG_MONITOR_LEN definition; compute real length
[karo-tx-uboot.git] / board / cray / L1 / flash.c
index 6d66905d9a0ff3617e85edbc2616dd11b0c7255d..829dbaecbe316411da44fda258be46c43fddcba0 100644 (file)
@@ -88,7 +88,7 @@ unsigned long flash_init (void)
            /* Monitor protection ON by default */
            (void)flash_protect(FLAG_PROTECT_SET,
                                FLASH_BASE0_PRELIM,
-                               FLASH_BASE0_PRELIM+CFG_MONITOR_LEN-1,
+                               FLASH_BASE0_PRELIM+monitor_flash_len-1,
                                &flash_info[0]);
 #endif
            size_b1 = 0 ;