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 <iwamatsu@nigauri.org>
This commit is contained in:
@@ -38,18 +38,6 @@ void s_init(void)
|
|||||||
|
|
||||||
/* QoS */
|
/* QoS */
|
||||||
qos_init();
|
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)
|
#define TMU0_MSTP125 (1 << 25)
|
||||||
|
|||||||
Reference in New Issue
Block a user