cpu-probe.c (0b6d497fcbb72b356c9d6446810a9597ee55c432) cpu-probe.c (39b8d5254246ac56342b72f812255c8f7a74dca9)
1/*
2 * Processor capabilities determination functions.
3 *
4 * Copyright (C) xxxx the Anonymous
5 * Copyright (C) 1994 - 2006 Ralf Baechle
6 * Copyright (C) 2003, 2004 Maciej W. Rozycki
7 * Copyright (C) 2001, 2004 MIPS Inc.
8 *

--- 155 unchanged lines hidden (view full) ---

164 break;
165
166 case CPU_RM7000:
167 cpu_wait = rm7k_wait_irqoff;
168 break;
169
170 case CPU_24K:
171 case CPU_34K:
1/*
2 * Processor capabilities determination functions.
3 *
4 * Copyright (C) xxxx the Anonymous
5 * Copyright (C) 1994 - 2006 Ralf Baechle
6 * Copyright (C) 2003, 2004 Maciej W. Rozycki
7 * Copyright (C) 2001, 2004 MIPS Inc.
8 *

--- 155 unchanged lines hidden (view full) ---

164 break;
165
166 case CPU_RM7000:
167 cpu_wait = rm7k_wait_irqoff;
168 break;
169
170 case CPU_24K:
171 case CPU_34K:
172 case CPU_1004K:
172 cpu_wait = r4k_wait;
173 if (read_c0_config7() & MIPS_CONF7_WII)
174 cpu_wait = r4k_wait_irqoff;
175 break;
176
177 case CPU_74K:
178 cpu_wait = r4k_wait;
179 if ((c->processor_id & 0xff) >= PRID_REV_ENCODE_332(2, 1, 0))

--- 532 unchanged lines hidden (view full) ---

712 c->cputype = CPU_25KF;
713 break;
714 case PRID_IMP_34K:
715 c->cputype = CPU_34K;
716 break;
717 case PRID_IMP_74K:
718 c->cputype = CPU_74K;
719 break;
173 cpu_wait = r4k_wait;
174 if (read_c0_config7() & MIPS_CONF7_WII)
175 cpu_wait = r4k_wait_irqoff;
176 break;
177
178 case CPU_74K:
179 cpu_wait = r4k_wait;
180 if ((c->processor_id & 0xff) >= PRID_REV_ENCODE_332(2, 1, 0))

--- 532 unchanged lines hidden (view full) ---

713 c->cputype = CPU_25KF;
714 break;
715 case PRID_IMP_34K:
716 c->cputype = CPU_34K;
717 break;
718 case PRID_IMP_74K:
719 c->cputype = CPU_74K;
720 break;
721 case PRID_IMP_1004K:
722 c->cputype = CPU_1004K;
723 break;
720 }
721
722 spram_config();
723}
724
725static inline void cpu_probe_alchemy(struct cpuinfo_mips *c)
726{
727 decode_configs(c);

--- 151 unchanged lines hidden (view full) ---

879 case CPU_4KSC: name = "MIPS 4KSc"; break;
880 case CPU_VR41XX: name = "NEC Vr41xx"; break;
881 case CPU_R5500: name = "R5500"; break;
882 case CPU_TX49XX: name = "TX49xx"; break;
883 case CPU_20KC: name = "MIPS 20Kc"; break;
884 case CPU_24K: name = "MIPS 24K"; break;
885 case CPU_25KF: name = "MIPS 25Kf"; break;
886 case CPU_34K: name = "MIPS 34K"; break;
724 }
725
726 spram_config();
727}
728
729static inline void cpu_probe_alchemy(struct cpuinfo_mips *c)
730{
731 decode_configs(c);

--- 151 unchanged lines hidden (view full) ---

883 case CPU_4KSC: name = "MIPS 4KSc"; break;
884 case CPU_VR41XX: name = "NEC Vr41xx"; break;
885 case CPU_R5500: name = "R5500"; break;
886 case CPU_TX49XX: name = "TX49xx"; break;
887 case CPU_20KC: name = "MIPS 20Kc"; break;
888 case CPU_24K: name = "MIPS 24K"; break;
889 case CPU_25KF: name = "MIPS 25Kf"; break;
890 case CPU_34K: name = "MIPS 34K"; break;
891 case CPU_1004K: name = "MIPS 1004K"; break;
887 case CPU_74K: name = "MIPS 74K"; break;
888 case CPU_VR4111: name = "NEC VR4111"; break;
889 case CPU_VR4121: name = "NEC VR4121"; break;
890 case CPU_VR4122: name = "NEC VR4122"; break;
891 case CPU_VR4131: name = "NEC VR4131"; break;
892 case CPU_VR4133: name = "NEC VR4133"; break;
893 case CPU_VR4181: name = "NEC VR4181"; break;
894 case CPU_VR4181A: name = "NEC VR4181A"; break;

--- 84 unchanged lines hidden ---
892 case CPU_74K: name = "MIPS 74K"; break;
893 case CPU_VR4111: name = "NEC VR4111"; break;
894 case CPU_VR4121: name = "NEC VR4121"; break;
895 case CPU_VR4122: name = "NEC VR4122"; break;
896 case CPU_VR4131: name = "NEC VR4131"; break;
897 case CPU_VR4133: name = "NEC VR4133"; break;
898 case CPU_VR4181: name = "NEC VR4181"; break;
899 case CPU_VR4181A: name = "NEC VR4181A"; break;

--- 84 unchanged lines hidden ---