powerpc: Add AMCC 460EX/460GT Rev. B support to cputable.c
authorStefan Roese <sr@denx.de>
Wed, 29 Jul 2009 07:04:46 +0000 (07:04 +0000)
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>
Thu, 20 Aug 2009 00:25:18 +0000 (10:25 +1000)
Signed-off-by: Stefan Roese <sr@denx.de>
Signed-off-by: Josh Boyer <jwboyer@linux.vnet.ibm.com>
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
arch/powerpc/kernel/cputable.c

index f34ea37079b55d9a2ee36e26198588fb9b55277b..9f38ecb178596b24d1cb54ccdfcec73f6cecebc1 100644 (file)
@@ -1653,7 +1653,7 @@ static struct cpu_spec __initdata cpu_specs[] = {
                .platform               = "ppc440",
        },
        { /* 460EX */
-               .pvr_mask               = 0xffff0002,
+               .pvr_mask               = 0xffff0006,
                .pvr_value              = 0x13020002,
                .cpu_name               = "460EX",
                .cpu_features           = CPU_FTRS_440x6,
@@ -1665,8 +1665,21 @@ static struct cpu_spec __initdata cpu_specs[] = {
                .machine_check          = machine_check_440A,
                .platform               = "ppc440",
        },
+       { /* 460EX Rev B */
+               .pvr_mask               = 0xffff0007,
+               .pvr_value              = 0x13020004,
+               .cpu_name               = "460EX Rev. B",
+               .cpu_features           = CPU_FTRS_440x6,
+               .cpu_user_features      = COMMON_USER_BOOKE | PPC_FEATURE_HAS_FPU,
+               .mmu_features           = MMU_FTR_TYPE_44x,
+               .icache_bsize           = 32,
+               .dcache_bsize           = 32,
+               .cpu_setup              = __setup_cpu_460ex,
+               .machine_check          = machine_check_440A,
+               .platform               = "ppc440",
+       },
        { /* 460GT */
-               .pvr_mask               = 0xffff0002,
+               .pvr_mask               = 0xffff0006,
                .pvr_value              = 0x13020000,
                .cpu_name               = "460GT",
                .cpu_features           = CPU_FTRS_440x6,
@@ -1678,6 +1691,19 @@ static struct cpu_spec __initdata cpu_specs[] = {
                .machine_check          = machine_check_440A,
                .platform               = "ppc440",
        },
+       { /* 460GT Rev B */
+               .pvr_mask               = 0xffff0007,
+               .pvr_value              = 0x13020005,
+               .cpu_name               = "460GT Rev. B",
+               .cpu_features           = CPU_FTRS_440x6,
+               .cpu_user_features      = COMMON_USER_BOOKE | PPC_FEATURE_HAS_FPU,
+               .mmu_features           = MMU_FTR_TYPE_44x,
+               .icache_bsize           = 32,
+               .dcache_bsize           = 32,
+               .cpu_setup              = __setup_cpu_460gt,
+               .machine_check          = machine_check_440A,
+               .platform               = "ppc440",
+       },
        { /* 460SX */
                .pvr_mask               = 0xffffff00,
                .pvr_value              = 0x13541800,