[U-Boot] [PATCH 13/13] ARM: UniPhier: remove unnecessary ifdef conditional

Masahiro Yamada yamada.masahiro at socionext.com
Sun Mar 22 16:07:33 CET 2015


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 at socionext.com>
---

 arch/arm/mach-uniphier/cache_uniphier.c | 2 --
 1 file changed, 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
 }
-- 
1.9.1



More information about the U-Boot mailing list