Remove a redundant '#ifndef CONFIG_SYS_DCACHE_OFF' nested in the same #ifndef.

Signed-off-by: Benoît Thébaudeau <benoit.thebaud...@advansee.com>
Cc: Albert Aribaud <albert.u.b...@aribaud.net>
---
 .../arch/arm/cpu/arm1136/cpu.c                     |    2 --
 1 file changed, 2 deletions(-)

diff --git u-boot-4d3c95f.orig/arch/arm/cpu/arm1136/cpu.c 
u-boot-4d3c95f/arch/arm/cpu/arm1136/cpu.c
index b98e3d9..1136c1d 100644
--- u-boot-4d3c95f.orig/arch/arm/cpu/arm1136/cpu.c
+++ u-boot-4d3c95f/arch/arm/cpu/arm1136/cpu.c
@@ -146,9 +146,7 @@ void enable_caches(void)
 #ifndef CONFIG_SYS_ICACHE_OFF
        icache_enable();
 #endif
-#ifndef CONFIG_SYS_DCACHE_OFF
        dcache_enable();
-#endif
 }
 
 #else /* #ifndef CONFIG_SYS_DCACHE_OFF */
_______________________________________________
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot

Reply via email to