[POWERPC] 4xx: Add PowerPC 440EP Rev C
authorSean MacLennan <smaclennan@pikatech.com>
Wed, 9 Jan 2008 20:25:58 +0000 (07:25 +1100)
committerJosh Boyer <jwboyer@linux.vnet.ibm.com>
Fri, 25 Jan 2008 13:08:27 +0000 (07:08 -0600)
This adds the 440EP revision C PVR to the CPU table.  The chip has an
FPU on it, so we also match the logical PVR

Signed-off-by: Sean MacLennan <smaclennan@pikatech.com>
Signed-off-by: Josh Boyer <jwboyer@linux.vnet.ibm.com>
arch/powerpc/kernel/cputable.c

index dfb84c86ec40fd253537d1b259a3db0be153a04c..a4c2771b5e6282b9264e4b038c9192a1ccfafc64 100644 (file)
@@ -1238,6 +1238,18 @@ static struct cpu_spec __initdata cpu_specs[] = {
                .machine_check          = machine_check_4xx,
                .platform               = "ppc440",
        },
+       { /* Matches both physical and logical PVR for 440EP (logical pvr = pvr | 0x8) */
+               .pvr_mask               = 0xf0000ff7,
+               .pvr_value              = 0x400008d4,
+               .cpu_name               = "440EP Rev. C",
+               .cpu_features           = CPU_FTRS_44X,
+               .cpu_user_features      = COMMON_USER_BOOKE | PPC_FEATURE_HAS_FPU,
+               .icache_bsize           = 32,
+               .dcache_bsize           = 32,
+               .cpu_setup              = __setup_cpu_440ep,
+               .machine_check          = machine_check_4xx,
+               .platform               = "ppc440",
+       },
        { /* Use logical PVR for 440EP (logical pvr = pvr | 0x8) */
                .pvr_mask               = 0xf0000fff,
                .pvr_value              = 0x400008db,