summaryrefslogtreecommitdiff
path: root/arch
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
parenta509161a21ef7584d614dc1530a2756dcfb217e0 (diff)
downloadu-boot-imx-90e357efed06767d87c49280bc25272fdf378612.zip
u-boot-imx-90e357efed06767d87c49280bc25272fdf378612.tar.gz
u-boot-imx-90e357efed06767d87c49280bc25272fdf378612.tar.bz2
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')
-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
}