Patch by Jon Loeliger, 16 Jul 2004:
[platform/kernel/u-boot.git] / board / stxgp3 / flash.c
index e273973..032989b 100644 (file)
@@ -92,14 +92,12 @@ unsigned long flash_init (void)
 
        flash_info[0].size = size;
 
-#if !defined(CONFIG_RAM_AS_FLASH)
 #if CFG_MONITOR_BASE >= CFG_FLASH_BASE
        /* monitor protection ON by default */
        flash_protect(FLAG_PROTECT_SET,
                      CFG_MONITOR_BASE,
                      CFG_MONITOR_BASE+monitor_flash_len-1,
                      &flash_info[0]);
-#endif
 
 #ifdef CFG_ENV_IS_IN_FLASH
        /* ENV protection ON by default */