arm: rmobile: Remove unnecessary initialization for l2ctlr
This removes duplicate initialization of l2ctlr. Signed-off-by: Nobuhiro Iwamatsu <nobuhiro.iwamatsu.yj@renesas.com>
This commit is contained in:
parent
f212a8abf3
commit
7d83580364
|
@ -42,11 +42,6 @@ do_lowlevel_init:
|
||||||
mcreq p15, 0, r0, c1, c0, 1
|
mcreq p15, 0, r0, c1, c0, 1
|
||||||
|
|
||||||
/* and set l2 latency */
|
/* and set l2 latency */
|
||||||
mrceq p15, 1, r0, c9, c0, 2 /* l2ctlr */
|
|
||||||
orreq r0, r0, #0x00000800
|
|
||||||
orreq r0, r0, #0x00000003
|
|
||||||
mcreq p15, 1, r0, c9, c0, 2
|
|
||||||
|
|
||||||
mrc p15, 0, r0, c0, c0, 5 /* r0 = MPIDR */
|
mrc p15, 0, r0, c0, c0, 5 /* r0 = MPIDR */
|
||||||
and r0, r0, #0xf00
|
and r0, r0, #0xf00
|
||||||
lsr r0, r0, #8
|
lsr r0, r0, #8
|
||||||
|
|
Loading…
Reference in New Issue