]> git.sur5r.net Git - u-boot/blobdiff - board/flagadm/flash.c
Added config option CONFIG_SILENT_CONSOLE. See doc/README.silent
[u-boot] / board / flagadm / flash.c
index fc5d963a91fa0b2e203ff03fcbbd6b7986b47e86..fd0082c135b05c4f320b1e2d04a6863bf5a57e2d 100644 (file)
@@ -77,7 +77,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