]> git.sur5r.net Git - u-boot/blobdiff - board/logodl/flash.c
Patch by Anders Larsen, 09 Jan 2004:
[u-boot] / board / logodl / flash.c
index 8c304f9392ccf9ef742b61ee16113db6582b30ad..a9477314dcbfaf697d034d96aeea9d9242b750fc 100644 (file)
@@ -105,7 +105,7 @@ ulong flash_init(void)
      */
     flash_protect(FLAG_PROTECT_SET,
                  CFG_FLASH_BASE,
-                 CFG_FLASH_BASE + _armboot_end_data - _armboot_start,
+                 CFG_FLASH_BASE + _bss_start - _armboot_start,
                  &flash_info[0]);
 
     flash_protect(FLAG_PROTECT_SET,