From 79bf043e371cfb7bed276e3ce795f066a364f5ff Mon Sep 17 00:00:00 2001 From: Nobuhiro Iwamatsu Date: Tue, 10 Feb 2015 15:26:10 +0900 Subject: [PATCH] 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 --- 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 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) -- 2.25.1