diff options
Diffstat (limited to 'arch/sh/kernel/cpu/sh4/probe.c')
-rw-r--r-- | arch/sh/kernel/cpu/sh4/probe.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/arch/sh/kernel/cpu/sh4/probe.c b/arch/sh/kernel/cpu/sh4/probe.c index 2e42572b1b11..3d3a3c4425a9 100644 --- a/arch/sh/kernel/cpu/sh4/probe.c +++ b/arch/sh/kernel/cpu/sh4/probe.c | |||
@@ -129,6 +129,13 @@ int __init detect_cpu_and_cache_system(void) | |||
129 | boot_cpu_data.flags |= CPU_HAS_FPU | CPU_HAS_PERF_COUNTER | | 129 | boot_cpu_data.flags |= CPU_HAS_FPU | CPU_HAS_PERF_COUNTER | |
130 | CPU_HAS_LLSC; | 130 | CPU_HAS_LLSC; |
131 | break; | 131 | break; |
132 | case 0x4004: | ||
133 | boot_cpu_data.type = CPU_SH7786; | ||
134 | boot_cpu_data.icache.ways = 4; | ||
135 | boot_cpu_data.dcache.ways = 4; | ||
136 | boot_cpu_data.flags |= CPU_HAS_FPU | CPU_HAS_PERF_COUNTER | | ||
137 | CPU_HAS_LLSC | CPU_HAS_PTEAEX; | ||
138 | break; | ||
132 | case 0x3008: | 139 | case 0x3008: |
133 | boot_cpu_data.icache.ways = 4; | 140 | boot_cpu_data.icache.ways = 4; |
134 | boot_cpu_data.dcache.ways = 4; | 141 | boot_cpu_data.dcache.ways = 4; |