diff options
Diffstat (limited to 'arch/powerpc/kernel/setup-common.c')
-rw-r--r-- | arch/powerpc/kernel/setup-common.c | 17 |
1 files changed, 15 insertions, 2 deletions
diff --git a/arch/powerpc/kernel/setup-common.c b/arch/powerpc/kernel/setup-common.c index 9cc5a52711e5..5ec56ff03e86 100644 --- a/arch/powerpc/kernel/setup-common.c +++ b/arch/powerpc/kernel/setup-common.c | |||
@@ -254,8 +254,21 @@ static int show_cpuinfo(struct seq_file *m, void *v) | |||
254 | /* If we are a Freescale core do a simple check so | 254 | /* If we are a Freescale core do a simple check so |
255 | * we dont have to keep adding cases in the future */ | 255 | * we dont have to keep adding cases in the future */ |
256 | if (PVR_VER(pvr) & 0x8000) { | 256 | if (PVR_VER(pvr) & 0x8000) { |
257 | maj = PVR_MAJ(pvr); | 257 | switch (PVR_VER(pvr)) { |
258 | min = PVR_MIN(pvr); | 258 | case 0x8000: /* 7441/7450/7451, Voyager */ |
259 | case 0x8001: /* 7445/7455, Apollo 6 */ | ||
260 | case 0x8002: /* 7447/7457, Apollo 7 */ | ||
261 | case 0x8003: /* 7447A, Apollo 7 PM */ | ||
262 | case 0x8004: /* 7448, Apollo 8 */ | ||
263 | case 0x800c: /* 7410, Nitro */ | ||
264 | maj = ((pvr >> 8) & 0xF); | ||
265 | min = PVR_MIN(pvr); | ||
266 | break; | ||
267 | default: /* e500/book-e */ | ||
268 | maj = PVR_MAJ(pvr); | ||
269 | min = PVR_MIN(pvr); | ||
270 | break; | ||
271 | } | ||
259 | } else { | 272 | } else { |
260 | switch (PVR_VER(pvr)) { | 273 | switch (PVR_VER(pvr)) { |
261 | case 0x0020: /* 403 family */ | 274 | case 0x0020: /* 403 family */ |