Browse Source

sh: PVR detection for 2nd cut SH7786.

The mass produced cuts use an updated PVR value, add them to the list.

Signed-off-by: Matt Fleming <matt@console-pimps.org>
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
Matt Fleming 15 years ago
parent
commit
7f33306ee5
1 changed files with 1 additions and 0 deletions
  1. 1 0
      arch/sh/kernel/cpu/sh4/probe.c

+ 1 - 0
arch/sh/kernel/cpu/sh4/probe.c

@@ -124,6 +124,7 @@ int __init detect_cpu_and_cache_system(void)
 		boot_cpu_data.type = CPU_SH7785;
 		boot_cpu_data.type = CPU_SH7785;
 		break;
 		break;
 	case 0x4004:
 	case 0x4004:
+	case 0x4005:
 		boot_cpu_data.type = CPU_SH7786;
 		boot_cpu_data.type = CPU_SH7786;
 		boot_cpu_data.flags |= CPU_HAS_PTEAEX | CPU_HAS_L2_CACHE;
 		boot_cpu_data.flags |= CPU_HAS_PTEAEX | CPU_HAS_L2_CACHE;
 		break;
 		break;