From: Nobuhiro Iwamatsu Date: Tue, 10 Feb 2015 06:26:10 +0000 (+0900) Subject: ARM: rmobile: silk: Remove initialization of ACTLR.SMP X-Git-Tag: v2015.04-rc2~29^2 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=79bf043e371cfb7bed276e3ce795f066a364f5ff;p=u-boot ARM: rmobile: silk: Remove initialization of ACTLR.SMP Initialization of ACTLR.SMP is in lowlevel_init. This remove duplicate function. Signed-off-by: Nobuhiro Iwamatsu --- diff --git a/board/renesas/silk/silk.c b/board/renesas/silk/silk.c index 8818211d32..dfd9a9d3e4 100644 --- a/board/renesas/silk/silk.c +++ b/board/renesas/silk/silk.c @@ -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)