Commit 98a41de9 authored by Nigel Stephens's avatar Nigel Stephens Committed by Ralf Baechle

[MIPS] Add missing 34K processor IDs

    
The 34K is very much like a 24K on steroids.
Signed-off-by: default avatarRalf Baechle <ralf@linux-mips.org>
parent 6e953891
...@@ -902,6 +902,7 @@ static inline void parity_protection_init(void) ...@@ -902,6 +902,7 @@ static inline void parity_protection_init(void)
{ {
switch (current_cpu_data.cputype) { switch (current_cpu_data.cputype) {
case CPU_24K: case CPU_24K:
case CPU_34K:
case CPU_5KC: case CPU_5KC:
write_c0_ecc(0x80000000); write_c0_ecc(0x80000000);
back_to_back_c0_hazard(); back_to_back_c0_hazard();
......
...@@ -968,6 +968,7 @@ static void __init probe_pcache(void) ...@@ -968,6 +968,7 @@ static void __init probe_pcache(void)
case CPU_SB1: case CPU_SB1:
break; break;
case CPU_24K: case CPU_24K:
case CPU_34K:
if (!(read_c0_config7() & (1 << 16))) if (!(read_c0_config7() & (1 << 16)))
default: default:
if (c->dcache.waysize > PAGE_SIZE) if (c->dcache.waysize > PAGE_SIZE)
......
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