powerpc: broadway processor support
authorAlbert Herranz <albert_herranz@yahoo.es>
Sat, 12 Dec 2009 06:31:46 +0000 (06:31 +0000)
committerGrant Likely <grant.likely@secretlab.ca>
Sun, 13 Dec 2009 05:24:29 +0000 (22:24 -0700)
This patch extends the cputable entry of the 750CL to also match
the 750CL-based "Broadway" cpu found on the Nintendo Wii.

As of this patch, the following "Broadway" design revision levels have
been seen in the wild:
- DD1.2 (87102)
- DD2.0 (87200)

Signed-off-by: Albert Herranz <albert_herranz@yahoo.es>
Acked-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Signed-off-by: Grant Likely <grant.likely@secretlab.ca>
arch/powerpc/kernel/cputable.c

index 03c862b..2fc82ba 100644 (file)
@@ -697,9 +697,9 @@ static struct cpu_spec __initdata cpu_specs[] = {
                .machine_check          = machine_check_generic,
                .platform               = "ppc750",
        },
-       {       /* 750CL */
-               .pvr_mask               = 0xfffff0f0,
-               .pvr_value              = 0x00087010,
+       {       /* 750CL (and "Broadway") */
+               .pvr_mask               = 0xfffff0e0,
+               .pvr_value              = 0x00087000,
                .cpu_name               = "750CL",
                .cpu_features           = CPU_FTRS_750CL,
                .cpu_user_features      = COMMON_USER | PPC_FEATURE_PPC_LE,