aboutsummaryrefslogtreecommitdiffstats
path: root/arch/mips/mm/c-r4k.c
diff options
context:
space:
mode:
authorRalf Baechle <ralf@linux-mips.org>2012-12-11 15:02:55 -0500
committerRalf Baechle <ralf@linux-mips.org>2012-12-13 12:15:30 -0500
commitbdf20507da11a9a5b32ef04fa09f352828189aef (patch)
tree5fe9541a1b0dfe9628cd3fff26d6ac43de1206a9 /arch/mips/mm/c-r4k.c
parentfa4dbbc602a1fb020b627ca8d5a265ad7f3d0c48 (diff)
MIPS: PMC-Sierra Yosemite: Remove support.
Nobody seems to be interested anymore and upstream also never had an ethernet driver. Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Diffstat (limited to 'arch/mips/mm/c-r4k.c')
-rw-r--r--arch/mips/mm/c-r4k.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/arch/mips/mm/c-r4k.c b/arch/mips/mm/c-r4k.c
index 2b6146241bde..d2b5b0c7afa0 100644
--- a/arch/mips/mm/c-r4k.c
+++ b/arch/mips/mm/c-r4k.c
@@ -936,7 +936,6 @@ static void __cpuinit probe_pcache(void)
936 case CPU_RM7000: 936 case CPU_RM7000:
937 rm7k_erratum31(); 937 rm7k_erratum31();
938 938
939 case CPU_RM9000:
940 icache_size = 1 << (12 + ((config & CONF_IC) >> 9)); 939 icache_size = 1 << (12 + ((config & CONF_IC) >> 9));
941 c->icache.linesz = 16 << ((config & CONF_IB) >> 5); 940 c->icache.linesz = 16 << ((config & CONF_IB) >> 5);
942 c->icache.ways = 4; 941 c->icache.ways = 4;
@@ -947,9 +946,7 @@ static void __cpuinit probe_pcache(void)
947 c->dcache.ways = 4; 946 c->dcache.ways = 4;
948 c->dcache.waybit = __ffs(dcache_size / c->dcache.ways); 947 c->dcache.waybit = __ffs(dcache_size / c->dcache.ways);
949 948
950#if !defined(CONFIG_SMP) || !defined(RM9000_CDEX_SMP_WAR)
951 c->options |= MIPS_CPU_CACHE_CDEX_P; 949 c->options |= MIPS_CPU_CACHE_CDEX_P;
952#endif
953 c->options |= MIPS_CPU_PREFETCH; 950 c->options |= MIPS_CPU_PREFETCH;
954 break; 951 break;
955 952
@@ -1234,7 +1231,6 @@ static void __cpuinit setup_scache(void)
1234 return; 1231 return;
1235 1232
1236 case CPU_RM7000: 1233 case CPU_RM7000:
1237 case CPU_RM9000:
1238#ifdef CONFIG_RM7000_CPU_SCACHE 1234#ifdef CONFIG_RM7000_CPU_SCACHE
1239 rm7k_sc_init(); 1235 rm7k_sc_init();
1240#endif 1236#endif