Detect the 34K.

Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
This commit is contained in:
Ralf Baechle
2005-07-12 16:12:05 +00:00
parent 079ef8bb80
commit bbc7f22f6d
4 changed files with 10 additions and 1 deletions

View File

@@ -104,6 +104,7 @@ static inline void check_wait(void)
/* case CPU_20KC:*/
case CPU_24K:
case CPU_25KF:
case CPU_34K:
cpu_wait = r4k_wait;
printk(" available.\n");
break;
@@ -538,6 +539,10 @@ static inline void cpu_probe_mips(struct cpuinfo_mips *c)
/* Probe for L2 cache */
c->scache.flags &= ~MIPS_CACHE_NOT_PRESENT;
break;
case PRID_IMP_34K:
c->cputype = CPU_34K;
c->isa_level = MIPS_CPU_ISA_M32;
break;
}
}