aboutsummaryrefslogtreecommitdiffstats
path: root/arch/mips/mm/c-r4k.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/mips/mm/c-r4k.c')
-rw-r--r--arch/mips/mm/c-r4k.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/arch/mips/mm/c-r4k.c b/arch/mips/mm/c-r4k.c
index 570bc4e30fd5..6b3541769602 100644
--- a/arch/mips/mm/c-r4k.c
+++ b/arch/mips/mm/c-r4k.c
@@ -335,6 +335,7 @@ static inline void local_r4k___flush_cache_all(void * args)
335 case CPU_R4400MC: 335 case CPU_R4400MC:
336 case CPU_R10000: 336 case CPU_R10000:
337 case CPU_R12000: 337 case CPU_R12000:
338 case CPU_R14000:
338 r4k_blast_scache(); 339 r4k_blast_scache();
339 } 340 }
340} 341}
@@ -833,6 +834,7 @@ static void __init probe_pcache(void)
833 834
834 case CPU_R10000: 835 case CPU_R10000:
835 case CPU_R12000: 836 case CPU_R12000:
837 case CPU_R14000:
836 icache_size = 1 << (12 + ((config & R10K_CONF_IC) >> 29)); 838 icache_size = 1 << (12 + ((config & R10K_CONF_IC) >> 29));
837 c->icache.linesz = 64; 839 c->icache.linesz = 64;
838 c->icache.ways = 2; 840 c->icache.ways = 2;
@@ -986,6 +988,7 @@ static void __init probe_pcache(void)
986 c->dcache.flags |= MIPS_CACHE_PINDEX; 988 c->dcache.flags |= MIPS_CACHE_PINDEX;
987 case CPU_R10000: 989 case CPU_R10000:
988 case CPU_R12000: 990 case CPU_R12000:
991 case CPU_R14000:
989 case CPU_SB1: 992 case CPU_SB1:
990 break; 993 break;
991 case CPU_24K: 994 case CPU_24K:
@@ -1113,6 +1116,7 @@ static void __init setup_scache(void)
1113 1116
1114 case CPU_R10000: 1117 case CPU_R10000:
1115 case CPU_R12000: 1118 case CPU_R12000:
1119 case CPU_R14000:
1116 scache_size = 0x80000 << ((config & R10K_CONF_SS) >> 16); 1120 scache_size = 0x80000 << ((config & R10K_CONF_SS) >> 16);
1117 c->scache.linesz = 64 << ((config >> 13) & 1); 1121 c->scache.linesz = 64 << ((config >> 13) & 1);
1118 c->scache.ways = 2; 1122 c->scache.ways = 2;