aboutsummaryrefslogtreecommitdiffstats
path: root/arch/powerpc/kernel
diff options
context:
space:
mode:
authorJosh Boyer <jwboyer@linux.vnet.ibm.com>2007-04-12 14:33:25 -0400
committerPaul Mackerras <paulus@samba.org>2007-04-24 07:31:47 -0400
commita14c4508f4bb1bb7772b1976a82646be8d8b515a (patch)
tree15d6750cb360fdb74f89c63c4fda641f6b148667 /arch/powerpc/kernel
parentc3ea6921a68ed4bdcfc782676c52707cbe347952 (diff)
[POWERPC] Fix PowerPC 750CL and 750GX CPU features
PowerPC 750CL has high BATs. The patch below adds a CPU_FTRS_750CL that includes that. Without it, the original firmware mappings in the high BATs aren't cleared which continue to override the linux translations. It also adds CPU_FTR_COMMON to CPU_FTRS_750GX for completeness. Signed-off-by: Josh Boyer <jwboyer@linux.vnet.ibm.com> Signed-off-by: Paul Mackerras <paulus@samba.org>
Diffstat (limited to 'arch/powerpc/kernel')
-rw-r--r--arch/powerpc/kernel/cputable.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/powerpc/kernel/cputable.c b/arch/powerpc/kernel/cputable.c
index 6b59e40214d2..ad74fecae507 100644
--- a/arch/powerpc/kernel/cputable.c
+++ b/arch/powerpc/kernel/cputable.c
@@ -562,12 +562,12 @@ static struct cpu_spec cpu_specs[] = {
562 .pvr_mask = 0xfffff0f0, 562 .pvr_mask = 0xfffff0f0,
563 .pvr_value = 0x00087010, 563 .pvr_value = 0x00087010,
564 .cpu_name = "750CL", 564 .cpu_name = "750CL",
565 .cpu_features = CPU_FTRS_750, 565 .cpu_features = CPU_FTRS_750CL,
566 .cpu_user_features = COMMON_USER | PPC_FEATURE_PPC_LE, 566 .cpu_user_features = COMMON_USER | PPC_FEATURE_PPC_LE,
567 .icache_bsize = 32, 567 .icache_bsize = 32,
568 .dcache_bsize = 32, 568 .dcache_bsize = 32,
569 .num_pmcs = 4, 569 .num_pmcs = 4,
570 .cpu_setup = __setup_cpu_750cx, 570 .cpu_setup = __setup_cpu_750,
571 .platform = "ppc750", 571 .platform = "ppc750",
572 }, 572 },
573 { /* 745/755 */ 573 { /* 745/755 */