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