]> git.ipfire.org Git - people/ms/u-boot.git/blobdiff - board/esd/cpciiser4/flash.c
* Get (mostly) rid of CFG_MONITOR_LEN definition; compute real length
[people/ms/u-boot.git] / board / esd / cpciiser4 / flash.c
index 214948f6d8587cb0c91674698c7aa7bc4dc029b6..685850e84fda5e40f57ac5d865c91293e81e18bd 100644 (file)
@@ -74,7 +74,7 @@ unsigned long flash_init (void)
 
         /* Monitor protection ON by default */
         (void)flash_protect(FLAG_PROTECT_SET,
-                            -CFG_MONITOR_LEN,
+                            -monitor_flash_len,
                             0xffffffff,
                             &flash_info[0]);