]> git.sur5r.net Git - u-boot/commitdiff
ARM: UniPhier: remove unnecessary ifdef conditional
authorMasahiro Yamada <yamada.masahiro@socionext.com>
Sun, 22 Mar 2015 15:07:33 +0000 (00:07 +0900)
committerMasahiro Yamada <yamada.masahiro@socionext.com>
Mon, 23 Mar 2015 15:16:02 +0000 (00:16 +0900)
The callee (arch/arm/lib/cache-cp15.c) has a #ifdef
CONFIG_SYS_DCACHE_OFF conditional.  The same conditional in the
caller (arch/arm/mach-uniphier/cache_uniphier.c) is redundant.

Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
arch/arm/mach-uniphier/cache_uniphier.c

index c1e9164489dc3c625a2ee79c086264a87be24914..d8b82288537e6ef18a56b428091ce15006ead667 100644 (file)
@@ -122,7 +122,5 @@ void v7_outer_cache_disable(void)
 
 void enable_caches(void)
 {
-#ifndef CONFIG_SYS_DCACHE_OFF
        dcache_enable();
-#endif
 }