diff options
Diffstat (limited to 'include/asm-mips/cpu.h')
-rw-r--r-- | include/asm-mips/cpu.h | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/include/asm-mips/cpu.h b/include/asm-mips/cpu.h index 2924069075e0..3857358fb6de 100644 --- a/include/asm-mips/cpu.h +++ b/include/asm-mips/cpu.h | |||
@@ -89,6 +89,8 @@ | |||
89 | #define PRID_IMP_34K 0x9500 | 89 | #define PRID_IMP_34K 0x9500 |
90 | #define PRID_IMP_24KE 0x9600 | 90 | #define PRID_IMP_24KE 0x9600 |
91 | #define PRID_IMP_74K 0x9700 | 91 | #define PRID_IMP_74K 0x9700 |
92 | #define PRID_IMP_LOONGSON1 0x4200 | ||
93 | #define PRID_IMP_LOONGSON2 0x6300 | ||
92 | 94 | ||
93 | /* | 95 | /* |
94 | * These are the PRID's for when 23:16 == PRID_COMP_SIBYTE | 96 | * These are the PRID's for when 23:16 == PRID_COMP_SIBYTE |
@@ -107,6 +109,7 @@ | |||
107 | * Definitions for 7:0 on legacy processors | 109 | * Definitions for 7:0 on legacy processors |
108 | */ | 110 | */ |
109 | 111 | ||
112 | #define PRID_REV_MASK 0x00ff | ||
110 | 113 | ||
111 | #define PRID_REV_TX4927 0x0022 | 114 | #define PRID_REV_TX4927 0x0022 |
112 | #define PRID_REV_TX4937 0x0030 | 115 | #define PRID_REV_TX4937 0x0030 |
@@ -123,6 +126,7 @@ | |||
123 | #define PRID_REV_VR4122 0x0070 | 126 | #define PRID_REV_VR4122 0x0070 |
124 | #define PRID_REV_VR4181A 0x0070 /* Same as VR4122 */ | 127 | #define PRID_REV_VR4181A 0x0070 /* Same as VR4122 */ |
125 | #define PRID_REV_VR4130 0x0080 | 128 | #define PRID_REV_VR4130 0x0080 |
129 | #define PRID_REV_34K_V1_0_2 0x0022 | ||
126 | 130 | ||
127 | /* | 131 | /* |
128 | * Older processors used to encode processor version and revision in two | 132 | * Older processors used to encode processor version and revision in two |
@@ -211,7 +215,10 @@ | |||
211 | #define CPU_SB1A 62 | 215 | #define CPU_SB1A 62 |
212 | #define CPU_74K 63 | 216 | #define CPU_74K 63 |
213 | #define CPU_R14000 64 | 217 | #define CPU_R14000 64 |
214 | #define CPU_LAST 64 | 218 | #define CPU_LOONGSON1 65 |
219 | #define CPU_LOONGSON2 66 | ||
220 | |||
221 | #define CPU_LAST 66 | ||
215 | 222 | ||
216 | /* | 223 | /* |
217 | * ISA Level encodings | 224 | * ISA Level encodings |
@@ -257,6 +264,7 @@ | |||
257 | #define MIPS_CPU_PREFETCH 0x00080000 /* CPU has usable prefetch */ | 264 | #define MIPS_CPU_PREFETCH 0x00080000 /* CPU has usable prefetch */ |
258 | #define MIPS_CPU_VINT 0x00100000 /* CPU supports MIPSR2 vectored interrupts */ | 265 | #define MIPS_CPU_VINT 0x00100000 /* CPU supports MIPSR2 vectored interrupts */ |
259 | #define MIPS_CPU_VEIC 0x00200000 /* CPU supports MIPSR2 external interrupt controller mode */ | 266 | #define MIPS_CPU_VEIC 0x00200000 /* CPU supports MIPSR2 external interrupt controller mode */ |
267 | #define MIPS_CPU_ULRI 0x00400000 /* CPU has ULRI feature */ | ||
260 | 268 | ||
261 | /* | 269 | /* |
262 | * CPU ASE encodings | 270 | * CPU ASE encodings |