[U-Boot] [PATCH] ARM: rmobile: silk: Remove initialization of ACTLR.SMP

Nobuhiro Iwamatsu nobuhiro.iwamatsu.yj at renesas.com
Tue Feb 10 07:24:35 CET 2015


Initialization of ACTLR.SMP is in lowlevel_init.
This remove duplicate function.

Signed-off-by: Nobuhiro Iwamatsu <nobuhiro.iwamatsu.yj at renesas.com>
---
 board/renesas/silk/silk.c | 12 ------------
 1 file changed, 12 deletions(-)

diff --git a/board/renesas/silk/silk.c b/board/renesas/silk/silk.c
index 6bba41e..8fb729a 100644
--- a/board/renesas/silk/silk.c
+++ b/board/renesas/silk/silk.c
@@ -40,18 +40,6 @@ void s_init(void)
 
 	/* QoS */
 	qos_init();
-
-#ifndef CONFIG_DCACHE_OFF
-	/*
-	 * The caches are disabled when ACTLR.SMP is set to 0
-	 * regardless of the value of the SCTLR.C (cache enable bit)
-	 * on Cortex-A7 MPCore
-	 */
-	asm volatile(
-		"mrc	15, 0, r0, c1, c0, 1\n"		/* read ACTLR */
-		"orr	r0, r0, #(1 << 6)\n"		/* set ACTLR.SMP bit */
-		"mcr	p15, 0, r0, c1, c0, 1\n");	/* write ACTLR */
-#endif
 }
 
 #define TMU0_MSTP125	(1 << 25)
-- 
2.1.4



More information about the U-Boot mailing list