summaryrefslogtreecommitdiffstats
path: root/arch/powerpc/kernel/cputable.c
diff options
context:
space:
mode:
authorJosh Boyer2007-04-12 20:33:25 +0200
committerPaul Mackerras2007-04-24 13:31:47 +0200
commita14c4508f4bb1bb7772b1976a82646be8d8b515a (patch)
tree15d6750cb360fdb74f89c63c4fda641f6b148667 /arch/powerpc/kernel/cputable.c
parent[POWERPC] hvc_console: Typo fixes (diff)
downloadkernel-qcow2-linux-a14c4508f4bb1bb7772b1976a82646be8d8b515a.tar.gz
kernel-qcow2-linux-a14c4508f4bb1bb7772b1976a82646be8d8b515a.tar.xz
kernel-qcow2-linux-a14c4508f4bb1bb7772b1976a82646be8d8b515a.zip
[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/cputable.c')
-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[] = {
.pvr_mask = 0xfffff0f0,
.pvr_value = 0x00087010,
.cpu_name = "750CL",
- .cpu_features = CPU_FTRS_750,
+ .cpu_features = CPU_FTRS_750CL,
.cpu_user_features = COMMON_USER | PPC_FEATURE_PPC_LE,
.icache_bsize = 32,
.dcache_bsize = 32,
.num_pmcs = 4,
- .cpu_setup = __setup_cpu_750cx,
+ .cpu_setup = __setup_cpu_750,
.platform = "ppc750",
},
{ /* 745/755 */