|
@@ -173,7 +173,7 @@ static void bmips_boot_secondary(int cpu, struct task_struct *idle)
|
|
else {
|
|
else {
|
|
#if defined(CONFIG_CPU_BMIPS4350) || defined(CONFIG_CPU_BMIPS4380)
|
|
#if defined(CONFIG_CPU_BMIPS4350) || defined(CONFIG_CPU_BMIPS4380)
|
|
/* Reset slave TP1 if booting from TP0 */
|
|
/* Reset slave TP1 if booting from TP0 */
|
|
- if (cpu_logical_map(cpu) == 0)
|
|
|
|
|
|
+ if (cpu_logical_map(cpu) == 1)
|
|
set_c0_brcm_cmt_ctrl(0x01);
|
|
set_c0_brcm_cmt_ctrl(0x01);
|
|
#elif defined(CONFIG_CPU_BMIPS5000)
|
|
#elif defined(CONFIG_CPU_BMIPS5000)
|
|
if (cpu & 0x01)
|
|
if (cpu & 0x01)
|