]> git.sur5r.net Git - u-boot/blobdiff - cpu/mips/cache.S
[MIPS] Request for the 'mips_cache_lock()' removal
[u-boot] / cpu / mips / cache.S
index 443240e540b897937eb165c83fa945bee593f971..67ee19fba8ea819d2ee162697e8232fb0d96e87a 100644 (file)
@@ -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 */