summaryrefslogtreecommitdiffstats
path: root/cpu/mips/cache.S
diff options
context:
space:
mode:
Diffstat (limited to 'cpu/mips/cache.S')
-rw-r--r--cpu/mips/cache.S2
1 files changed, 2 insertions, 0 deletions
diff --git a/cpu/mips/cache.S b/cpu/mips/cache.S
index 443240e540..67ee19fba8 100644
--- a/cpu/mips/cache.S
+++ b/cpu/mips/cache.S
@@ -238,6 +238,7 @@ dcache_disable:
.end dcache_disable
+#ifdef CFG_INIT_RAM_LOCK_MIPS
/*******************************************************************************
*
* mips_cache_lock - lock RAM area pointed to by a0 in cache.
@@ -263,3 +264,4 @@ mips_cache_lock:
j ra
.end mips_cache_lock
+#endif /* CFG_INIT_RAM_LOCK_MIPS */
OpenPOWER on IntegriCloud