[POWERPC] 4xx: Add 405EXr to cputable
authorStefan Roese <sr@denx.de>
Tue, 15 Jan 2008 07:09:15 +0000 (18:09 +1100)
committerJosh Boyer <jwboyer@linux.vnet.ibm.com>
Fri, 25 Jan 2008 13:06:09 +0000 (07:06 -0600)
This patch adds the 405EXr to the powerpc cuptable. Basically the 405EXr
is a 405EX with only one EMAC and only one PCIe interface.

Signed-off-by: Stefan Roese <sr@denx.de>
Signed-off-by: Josh Boyer <jwboyer@linux.vnet.ibm.com>
arch/powerpc/kernel/cputable.c

index f1928af5fcfc0e0b3617692687f13e238294bca4..dfb84c86ec40fd253537d1b259a3db0be153a04c 100644 (file)
@@ -1178,8 +1178,8 @@ static struct cpu_spec __initdata cpu_specs[] = {
                .platform               = "ppc405",
        },
        {       /* 405EX */
-               .pvr_mask               = 0xffff0000,
-               .pvr_value              = 0x12910000,
+               .pvr_mask               = 0xffff0004,
+               .pvr_value              = 0x12910004,
                .cpu_name               = "405EX",
                .cpu_features           = CPU_FTRS_40X,
                .cpu_user_features      = PPC_FEATURE_32 |
@@ -1189,6 +1189,18 @@ static struct cpu_spec __initdata cpu_specs[] = {
                .machine_check          = machine_check_4xx,
                .platform               = "ppc405",
        },
+       {       /* 405EXr */
+               .pvr_mask               = 0xffff0004,
+               .pvr_value              = 0x12910000,
+               .cpu_name               = "405EXr",
+               .cpu_features           = CPU_FTRS_40X,
+               .cpu_user_features      = PPC_FEATURE_32 |
+                       PPC_FEATURE_HAS_MMU | PPC_FEATURE_HAS_4xxMAC,
+               .icache_bsize           = 32,
+               .dcache_bsize           = 32,
+               .machine_check          = machine_check_4xx,
+               .platform               = "ppc405",
+       },
 
 #endif /* CONFIG_40x */
 #ifdef CONFIG_44x