]> git.kernelconcepts.de Git - karo-tx-uboot.git/commitdiff
ARM: rmobile: silk: Remove initialization of ACTLR.SMP
authorNobuhiro Iwamatsu <iwamatsu@nigauri.org>
Tue, 10 Feb 2015 06:26:10 +0000 (15:26 +0900)
committerLothar Waßmann <LW@KARO-electronics.de>
Tue, 1 Sep 2015 11:52:17 +0000 (13:52 +0200)
Initialization of ACTLR.SMP is in lowlevel_init.
This remove duplicate function.

Signed-off-by: Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
board/renesas/silk/silk.c

index 8818211d32f27bc0a877fa7000cb3250c77e88d8..dfd9a9d3e439913161274b78795adc9868ae1c18 100644 (file)
@@ -38,18 +38,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)