summaryrefslogtreecommitdiff
path: root/board/mpc8540ads/flash.c
diff options
context:
space:
mode:
Diffstat (limited to 'board/mpc8540ads/flash.c')
-rw-r--r--board/mpc8540ads/flash.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/board/mpc8540ads/flash.c b/board/mpc8540ads/flash.c
index ac2383e..c7d318c 100644
--- a/board/mpc8540ads/flash.c
+++ b/board/mpc8540ads/flash.c
@@ -86,14 +86,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 */