summaryrefslogtreecommitdiff
path: root/common/system.c
diff options
context:
space:
mode:
Diffstat (limited to 'common/system.c')
-rw-r--r--common/system.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/common/system.c b/common/system.c
index 53282b278d..430b611174 100644
--- a/common/system.c
+++ b/common/system.c
@@ -403,7 +403,7 @@ void system_disable_jump(void)
return;
}
-#ifdef CONFIG_EXTERNAL_STORAGE
+#if defined(CONFIG_EXTERNAL_STORAGE) || !defined(CONFIG_FLASH_PHYSICAL)
/*
* Protect code RAM from being overwritten
*/