MIPS: Malta: Enable CM & L2 support
Enable support for the MIPS Coherence Manager & L2 caches on the MIPS Malta board, removing the need for us to attempt to bypass the L2 during boot (which would fail with recent CPUs that expose L2 config via the CM anyway). Signed-off-by: Paul Burton <paul.burton@imgtec.com>
This commit is contained in:
committed by
Daniel Schwierzeck
parent
7953354b07
commit
566ce04de4
@@ -28,12 +28,6 @@
|
||||
|
||||
.globl lowlevel_init
|
||||
lowlevel_init:
|
||||
/* disable any L2 cache for now */
|
||||
sync
|
||||
mfc0 t0, CP0_CONFIG, 2
|
||||
ori t0, t0, 0x1 << 12
|
||||
mtc0 t0, CP0_CONFIG, 2
|
||||
|
||||
/* detect the core card */
|
||||
PTR_LI t0, CKSEG1ADDR(MALTA_REVISION)
|
||||
lw t0, 0(t0)
|
||||
|
||||
Reference in New Issue
Block a user