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

Signed-off-by: Nobuhiro Iwamatsu <nobuhiro.iwamatsu...@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

_______________________________________________
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot

Reply via email to