summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMasahiro Yamada <yamada.masahiro@socionext.com>2015-03-22 15:07:33 (GMT)
committerMasahiro Yamada <yamada.masahiro@socionext.com>2015-03-23 15:16:02 (GMT)
commit90e357efed06767d87c49280bc25272fdf378612 (patch)
tree7ab78ee8b51f5bfb97b86fb1a52ce8bb14deb442
parenta509161a21ef7584d614dc1530a2756dcfb217e0 (diff)
downloadu-boot-fsl-qoriq-90e357efed06767d87c49280bc25272fdf378612.tar.xz
ARM: UniPhier: remove unnecessary ifdef conditional
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>
-rw-r--r--arch/arm/mach-uniphier/cache_uniphier.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/arch/arm/mach-uniphier/cache_uniphier.c b/arch/arm/mach-uniphier/cache_uniphier.c
index c1e9164..d8b8228 100644
--- a/arch/arm/mach-uniphier/cache_uniphier.c
+++ b/arch/arm/mach-uniphier/cache_uniphier.c
@@ -122,7 +122,5 @@ void v7_outer_cache_disable(void)
void enable_caches(void)
{
-#ifndef CONFIG_SYS_DCACHE_OFF
dcache_enable();
-#endif
}