aboutsummaryrefslogtreecommitdiffstats
path: root/arch
diff options
context:
space:
mode:
authorStefan Roese <sr@denx.de>2009-07-29 03:04:46 -0400
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>2009-08-19 20:25:18 -0400
commit20d70345f181be6bdd5b0a76a408d0693683bf3d (patch)
treec1aa4b10ec0828e76c523dc2145f1aa185edbed1 /arch
parent67050b5c3e9992d98554bd224d5a7898cc4881ff (diff)
powerpc: Add AMCC 460EX/460GT Rev. B support to cputable.c
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>
Diffstat (limited to 'arch')
-rw-r--r--arch/powerpc/kernel/cputable.c30
1 files changed, 28 insertions, 2 deletions
diff --git a/arch/powerpc/kernel/cputable.c b/arch/powerpc/kernel/cputable.c
index f34ea37079b5..9f38ecb17859 100644
--- a/arch/powerpc/kernel/cputable.c
+++ b/arch/powerpc/kernel/cputable.c
@@ -1653,7 +1653,7 @@ static struct cpu_spec __initdata cpu_specs[] = {
1653 .platform = "ppc440", 1653 .platform = "ppc440",
1654 }, 1654 },
1655 { /* 460EX */ 1655 { /* 460EX */
1656 .pvr_mask = 0xffff0002, 1656 .pvr_mask = 0xffff0006,
1657 .pvr_value = 0x13020002, 1657 .pvr_value = 0x13020002,
1658 .cpu_name = "460EX", 1658 .cpu_name = "460EX",
1659 .cpu_features = CPU_FTRS_440x6, 1659 .cpu_features = CPU_FTRS_440x6,
@@ -1665,8 +1665,21 @@ static struct cpu_spec __initdata cpu_specs[] = {
1665 .machine_check = machine_check_440A, 1665 .machine_check = machine_check_440A,
1666 .platform = "ppc440", 1666 .platform = "ppc440",
1667 }, 1667 },
1668 { /* 460EX Rev B */
1669 .pvr_mask = 0xffff0007,
1670 .pvr_value = 0x13020004,
1671 .cpu_name = "460EX Rev. B",
1672 .cpu_features = CPU_FTRS_440x6,
1673 .cpu_user_features = COMMON_USER_BOOKE | PPC_FEATURE_HAS_FPU,
1674 .mmu_features = MMU_FTR_TYPE_44x,
1675 .icache_bsize = 32,
1676 .dcache_bsize = 32,
1677 .cpu_setup = __setup_cpu_460ex,
1678 .machine_check = machine_check_440A,
1679 .platform = "ppc440",
1680 },
1668 { /* 460GT */ 1681 { /* 460GT */
1669 .pvr_mask = 0xffff0002, 1682 .pvr_mask = 0xffff0006,
1670 .pvr_value = 0x13020000, 1683 .pvr_value = 0x13020000,
1671 .cpu_name = "460GT", 1684 .cpu_name = "460GT",
1672 .cpu_features = CPU_FTRS_440x6, 1685 .cpu_features = CPU_FTRS_440x6,
@@ -1678,6 +1691,19 @@ static struct cpu_spec __initdata cpu_specs[] = {
1678 .machine_check = machine_check_440A, 1691 .machine_check = machine_check_440A,
1679 .platform = "ppc440", 1692 .platform = "ppc440",
1680 }, 1693 },
1694 { /* 460GT Rev B */
1695 .pvr_mask = 0xffff0007,
1696 .pvr_value = 0x13020005,
1697 .cpu_name = "460GT Rev. B",
1698 .cpu_features = CPU_FTRS_440x6,
1699 .cpu_user_features = COMMON_USER_BOOKE | PPC_FEATURE_HAS_FPU,
1700 .mmu_features = MMU_FTR_TYPE_44x,
1701 .icache_bsize = 32,
1702 .dcache_bsize = 32,
1703 .cpu_setup = __setup_cpu_460gt,
1704 .machine_check = machine_check_440A,
1705 .platform = "ppc440",
1706 },
1681 { /* 460SX */ 1707 { /* 460SX */
1682 .pvr_mask = 0xffffff00, 1708 .pvr_mask = 0xffffff00,
1683 .pvr_value = 0x13541800, 1709 .pvr_value = 0x13541800,