diff options
author | Masahiro Yamada <yamada.masahiro@socionext.com> | 2015-03-22 15:07:33 (GMT) |
---|---|---|
committer | Masahiro Yamada <yamada.masahiro@socionext.com> | 2015-03-23 15:16:02 (GMT) |
commit | 90e357efed06767d87c49280bc25272fdf378612 (patch) | |
tree | 7ab78ee8b51f5bfb97b86fb1a52ce8bb14deb442 /arch | |
parent | a509161a21ef7584d614dc1530a2756dcfb217e0 (diff) | |
download | u-boot-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>
Diffstat (limited to 'arch')
-rw-r--r-- | arch/arm/mach-uniphier/cache_uniphier.c | 2 |
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 } |