]> git.ipfire.org Git - people/ms/u-boot.git/blobdiff - board/pcippc2/flash.c
* Get (mostly) rid of CFG_MONITOR_LEN definition; compute real length
[people/ms/u-boot.git] / board / pcippc2 / flash.c
index 20f4d0343b83b856fe093ed7775e21c0dbc74060..6e9e3395c1b22c9154c9afb62f95dfb862b5f2e4 100644 (file)
@@ -70,7 +70,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