summaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-uniphier/cache_uniphier.c
diff options
context:
space:
mode:
authorMasahiro Yamada <yamada.masahiro@socionext.com>2015-03-23 00:07:33 +0900
committerMasahiro Yamada <yamada.masahiro@socionext.com>2015-03-24 00:16:02 +0900
commit90e357efed06767d87c49280bc25272fdf378612 (patch)
tree7ab78ee8b51f5bfb97b86fb1a52ce8bb14deb442 /arch/arm/mach-uniphier/cache_uniphier.c
parenta509161a21ef7584d614dc1530a2756dcfb217e0 (diff)
downloadtalos-obmc-uboot-90e357efed06767d87c49280bc25272fdf378612.tar.gz
talos-obmc-uboot-90e357efed06767d87c49280bc25272fdf378612.zip
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>
Diffstat (limited to 'arch/arm/mach-uniphier/cache_uniphier.c')
-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 c1e9164489..d8b8228853 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
}
OpenPOWER on IntegriCloud