]> git.sur5r.net Git - u-boot/blobdiff - board/mpc8266ads/flash.c
FSL: Move board/mpc8260ads under board/freescale
[u-boot] / board / mpc8266ads / flash.c
index b876d1cddd1812532103adfcf47625804d50e9b5..9512c72a0b94bb843f4e8af9426b7fcfa312dc7b 100644 (file)
@@ -101,7 +101,7 @@ unsigned long 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