]> git.kernelconcepts.de Git - karo-tx-uboot.git/blobdiff - board/esd/dasa_sim/flash.c
* Get (mostly) rid of CFG_MONITOR_LEN definition; compute real length
[karo-tx-uboot.git] / board / esd / dasa_sim / flash.c
index 2574eac7fdc848f6d392629ee4e381922442adb7..32cd64cf0883c4fcceca7ec31fae86b88d28ec02 100644 (file)
@@ -67,7 +67,7 @@ unsigned long flash_init (void)
 
         /* Monitor protection ON by default */
         (void)flash_protect(FLAG_PROTECT_SET,
-                            -CFG_MONITOR_LEN,
+                            -monitor_flash_len,
                             0xffffffff,
                             &flash_info[0]);