probe.c (bc95f3669f5e6f63cf0b84fe4922c3c6dd4aa775) probe.c (32351a28a7e1f2c68afbe559dd35e1ad0301be6d)
1/*
2 * arch/sh/kernel/cpu/sh4/probe.c
3 *
4 * CPU Subtype Probing for SH-4.
5 *
6 * Copyright (C) 2001 - 2006 Paul Mundt
7 * Copyright (C) 2003 Richard Curnow
8 *

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

119 case 0x3000:
120 case 0x3003:
121 case 0x3009:
122 current_cpu_data.type = CPU_SH7343;
123 current_cpu_data.icache.ways = 4;
124 current_cpu_data.dcache.ways = 4;
125 current_cpu_data.flags |= CPU_HAS_LLSC;
126 break;
1/*
2 * arch/sh/kernel/cpu/sh4/probe.c
3 *
4 * CPU Subtype Probing for SH-4.
5 *
6 * Copyright (C) 2001 - 2006 Paul Mundt
7 * Copyright (C) 2003 Richard Curnow
8 *

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

119 case 0x3000:
120 case 0x3003:
121 case 0x3009:
122 current_cpu_data.type = CPU_SH7343;
123 current_cpu_data.icache.ways = 4;
124 current_cpu_data.dcache.ways = 4;
125 current_cpu_data.flags |= CPU_HAS_LLSC;
126 break;
127 case 0x3004:
128 case 0x3007:
129 current_cpu_data.type = CPU_SH7785;
130 current_cpu_data.icache.ways = 4;
131 current_cpu_data.dcache.ways = 4;
132 current_cpu_data.flags |= CPU_HAS_FPU | CPU_HAS_PERF_COUNTER |
133 CPU_HAS_LLSC;
134 break;
127 case 0x3008:
128 if (prr == 0xa0) {
129 current_cpu_data.type = CPU_SH7722;
130 current_cpu_data.icache.ways = 4;
131 current_cpu_data.dcache.ways = 4;
132 current_cpu_data.flags |= CPU_HAS_LLSC;
133 }
134 break;

--- 106 unchanged lines hidden ---
135 case 0x3008:
136 if (prr == 0xa0) {
137 current_cpu_data.type = CPU_SH7722;
138 current_cpu_data.icache.ways = 4;
139 current_cpu_data.dcache.ways = 4;
140 current_cpu_data.flags |= CPU_HAS_LLSC;
141 }
142 break;

--- 106 unchanged lines hidden ---