]> git.sur5r.net Git - u-boot/blobdiff - board/cogent/flash.c
POST: Add 405EX support to 4xx UART POST test
[u-boot] / board / cogent / flash.c
index 86da80edb81494f326d55d2ede794d4cd1a2468e..969520d277be263972f54019cbd19cfd6516b4d9 100644 (file)
@@ -323,7 +323,7 @@ flash_init(void)
 #if CFG_MONITOR_BASE == CFG_FLASH_BASE
        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