aboutsummaryrefslogtreecommitdiffstats
path: root/arch/powerpc/kernel
diff options
context:
space:
mode:
authorJake Moilanen <moilanen@austin.ibm.com>2006-10-18 11:47:22 -0400
committerPaul Mackerras <paulus@samba.org>2006-10-23 04:23:17 -0400
commit362ff7b2ac0234152b4a334dd006b77f4fa2ab23 (patch)
tree4b9d3c03c119b0216ff04b744c8901823e61d10b /arch/powerpc/kernel
parent7f8c4c50bda13d27afc03679d25aa1fcac8df551 (diff)
[POWERPC] Add 970GX cputable entry
970GX cputable entry from Steve Winiecki. Signed-off-by: Jake Moilanen <moilanen@austin.ibm.com> arch/powerpc/kernel/cputable.c | 15 +++++++++++++++ arch/powerpc/oprofile/op_model_power4.c | 2 +- include/asm-powerpc/reg.h | 1 + 3 files changed, 17 insertions(+), 1 deletion(-) Signed-off-by: Paul Mackerras <paulus@samba.org>
Diffstat (limited to 'arch/powerpc/kernel')
-rw-r--r--arch/powerpc/kernel/cputable.c15
1 files changed, 15 insertions, 0 deletions
diff --git a/arch/powerpc/kernel/cputable.c b/arch/powerpc/kernel/cputable.c
index 95382f994404..f23aad66a79e 100644
--- a/arch/powerpc/kernel/cputable.c
+++ b/arch/powerpc/kernel/cputable.c
@@ -227,6 +227,21 @@ struct cpu_spec cpu_specs[] = {
227 .oprofile_type = PPC_OPROFILE_POWER4, 227 .oprofile_type = PPC_OPROFILE_POWER4,
228 .platform = "ppc970", 228 .platform = "ppc970",
229 }, 229 },
230 { /* PPC970GX */
231 .pvr_mask = 0xffff0000,
232 .pvr_value = 0x00450000,
233 .cpu_name = "PPC970GX",
234 .cpu_features = CPU_FTRS_PPC970,
235 .cpu_user_features = COMMON_USER_POWER4 |
236 PPC_FEATURE_HAS_ALTIVEC_COMP,
237 .icache_bsize = 128,
238 .dcache_bsize = 128,
239 .num_pmcs = 8,
240 .cpu_setup = __setup_cpu_ppc970,
241 .oprofile_cpu_type = "ppc64/970",
242 .oprofile_type = PPC_OPROFILE_POWER4,
243 .platform = "ppc970",
244 },
230 { /* Power5 GR */ 245 { /* Power5 GR */
231 .pvr_mask = 0xffff0000, 246 .pvr_mask = 0xffff0000,
232 .pvr_value = 0x003a0000, 247 .pvr_value = 0x003a0000,