Commit 33b68665 authored by Paul Burton's avatar Paul Burton

MIPS: smp-cps: set a coherent default CCA

This patch sets a default CCA suited for use with multi-core SMP on all
current MIPS CPS based systems. It may still be overriden by the cca=
argument on the kernel command line.
Signed-off-by: default avatarPaul Burton <paul.burton@imgtec.com>
parent 5c399f6e
...@@ -76,6 +76,9 @@ static void __init cps_smp_setup(void) ...@@ -76,6 +76,9 @@ static void __init cps_smp_setup(void)
__cpu_logical_map[v] = v; __cpu_logical_map[v] = v;
} }
/* Set a coherent default CCA (CWB) */
change_c0_config(CONF_CM_CMASK, 0x5);
/* Core 0 is powered up (we're running on it) */ /* Core 0 is powered up (we're running on it) */
bitmap_set(core_power, 0, 1); bitmap_set(core_power, 0, 1);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment