diff options
Diffstat (limited to 'arch/powerpc/kernel/cputable.c')
-rw-r--r-- | arch/powerpc/kernel/cputable.c | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/arch/powerpc/kernel/cputable.c b/arch/powerpc/kernel/cputable.c index 2da01340c84c..1eab54bc6ee9 100644 --- a/arch/powerpc/kernel/cputable.c +++ b/arch/powerpc/kernel/cputable.c | |||
@@ -1141,6 +1141,7 @@ static struct cpu_spec __initdata cpu_specs[] = { | |||
1141 | .machine_check = machine_check_generic, | 1141 | .machine_check = machine_check_generic, |
1142 | .platform = "ppc603", | 1142 | .platform = "ppc603", |
1143 | }, | 1143 | }, |
1144 | #ifdef CONFIG_PPC_83xx | ||
1144 | { /* e300c1 (a 603e core, plus some) on 83xx */ | 1145 | { /* e300c1 (a 603e core, plus some) on 83xx */ |
1145 | .pvr_mask = 0x7fff0000, | 1146 | .pvr_mask = 0x7fff0000, |
1146 | .pvr_value = 0x00830000, | 1147 | .pvr_value = 0x00830000, |
@@ -1151,7 +1152,7 @@ static struct cpu_spec __initdata cpu_specs[] = { | |||
1151 | .icache_bsize = 32, | 1152 | .icache_bsize = 32, |
1152 | .dcache_bsize = 32, | 1153 | .dcache_bsize = 32, |
1153 | .cpu_setup = __setup_cpu_603, | 1154 | .cpu_setup = __setup_cpu_603, |
1154 | .machine_check = machine_check_generic, | 1155 | .machine_check = machine_check_83xx, |
1155 | .platform = "ppc603", | 1156 | .platform = "ppc603", |
1156 | }, | 1157 | }, |
1157 | { /* e300c2 (an e300c1 core, plus some, minus FPU) on 83xx */ | 1158 | { /* e300c2 (an e300c1 core, plus some, minus FPU) on 83xx */ |
@@ -1165,7 +1166,7 @@ static struct cpu_spec __initdata cpu_specs[] = { | |||
1165 | .icache_bsize = 32, | 1166 | .icache_bsize = 32, |
1166 | .dcache_bsize = 32, | 1167 | .dcache_bsize = 32, |
1167 | .cpu_setup = __setup_cpu_603, | 1168 | .cpu_setup = __setup_cpu_603, |
1168 | .machine_check = machine_check_generic, | 1169 | .machine_check = machine_check_83xx, |
1169 | .platform = "ppc603", | 1170 | .platform = "ppc603", |
1170 | }, | 1171 | }, |
1171 | { /* e300c3 (e300c1, plus one IU, half cache size) on 83xx */ | 1172 | { /* e300c3 (e300c1, plus one IU, half cache size) on 83xx */ |
@@ -1179,7 +1180,7 @@ static struct cpu_spec __initdata cpu_specs[] = { | |||
1179 | .icache_bsize = 32, | 1180 | .icache_bsize = 32, |
1180 | .dcache_bsize = 32, | 1181 | .dcache_bsize = 32, |
1181 | .cpu_setup = __setup_cpu_603, | 1182 | .cpu_setup = __setup_cpu_603, |
1182 | .machine_check = machine_check_generic, | 1183 | .machine_check = machine_check_83xx, |
1183 | .num_pmcs = 4, | 1184 | .num_pmcs = 4, |
1184 | .oprofile_cpu_type = "ppc/e300", | 1185 | .oprofile_cpu_type = "ppc/e300", |
1185 | .oprofile_type = PPC_OPROFILE_FSL_EMB, | 1186 | .oprofile_type = PPC_OPROFILE_FSL_EMB, |
@@ -1196,12 +1197,13 @@ static struct cpu_spec __initdata cpu_specs[] = { | |||
1196 | .icache_bsize = 32, | 1197 | .icache_bsize = 32, |
1197 | .dcache_bsize = 32, | 1198 | .dcache_bsize = 32, |
1198 | .cpu_setup = __setup_cpu_603, | 1199 | .cpu_setup = __setup_cpu_603, |
1199 | .machine_check = machine_check_generic, | 1200 | .machine_check = machine_check_83xx, |
1200 | .num_pmcs = 4, | 1201 | .num_pmcs = 4, |
1201 | .oprofile_cpu_type = "ppc/e300", | 1202 | .oprofile_cpu_type = "ppc/e300", |
1202 | .oprofile_type = PPC_OPROFILE_FSL_EMB, | 1203 | .oprofile_type = PPC_OPROFILE_FSL_EMB, |
1203 | .platform = "ppc603", | 1204 | .platform = "ppc603", |
1204 | }, | 1205 | }, |
1206 | #endif | ||
1205 | { /* default match, we assume split I/D cache & TB (non-601)... */ | 1207 | { /* default match, we assume split I/D cache & TB (non-601)... */ |
1206 | .pvr_mask = 0x00000000, | 1208 | .pvr_mask = 0x00000000, |
1207 | .pvr_value = 0x00000000, | 1209 | .pvr_value = 0x00000000, |