]> git.kernelconcepts.de Git - karo-tx-uboot.git/blobdiff - board/LEOX/elpt860/flash.c
* Get (mostly) rid of CFG_MONITOR_LEN definition; compute real length
[karo-tx-uboot.git] / board / LEOX / elpt860 / flash.c
index a9238e16cfe14908897cf2f9b39e7c7dcabfaf6a..7107aaa6c26b5996ae97fbd13040aa7fff78dc0b 100644 (file)
@@ -118,7 +118,7 @@ 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