diff options
author | Tirumala Marri <tmarri@apm.com> | 2010-09-13 09:26:11 -0400 |
---|---|---|
committer | Josh Boyer <jwboyer@linux.vnet.ibm.com> | 2010-10-13 08:47:09 -0400 |
commit | 6edc323db720c65b9e6a770b4bed98f251dd49f0 (patch) | |
tree | ef5364409ee8b38e8e851700021a2c6b065cdcf8 /arch/powerpc/kernel/cputable.c | |
parent | 4108d9ba9091c55cfb968d42dd7dcae9a098b876 (diff) |
powerpc/44x: Add support for the AMCC APM821xx SoC
This patch adds CPU, device tree, defconfig and bluestone board
support for APM821xx SoC.
Signed-off-by: Tirumala R Marri <tmarri@apm.com>
Signed-off-by: Josh Boyer <jwboyer@linux.vnet.ibm.com>
Diffstat (limited to 'arch/powerpc/kernel/cputable.c')
-rw-r--r-- | arch/powerpc/kernel/cputable.c | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/arch/powerpc/kernel/cputable.c b/arch/powerpc/kernel/cputable.c index 1f9123f412ec..b7ac795e5270 100644 --- a/arch/powerpc/kernel/cputable.c +++ b/arch/powerpc/kernel/cputable.c | |||
@@ -48,6 +48,7 @@ extern void __setup_cpu_440x5(unsigned long offset, struct cpu_spec* spec); | |||
48 | extern void __setup_cpu_460ex(unsigned long offset, struct cpu_spec* spec); | 48 | extern void __setup_cpu_460ex(unsigned long offset, struct cpu_spec* spec); |
49 | extern void __setup_cpu_460gt(unsigned long offset, struct cpu_spec* spec); | 49 | extern void __setup_cpu_460gt(unsigned long offset, struct cpu_spec* spec); |
50 | extern void __setup_cpu_460sx(unsigned long offset, struct cpu_spec *spec); | 50 | extern void __setup_cpu_460sx(unsigned long offset, struct cpu_spec *spec); |
51 | extern void __setup_cpu_apm821xx(unsigned long offset, struct cpu_spec *spec); | ||
51 | extern void __setup_cpu_603(unsigned long offset, struct cpu_spec* spec); | 52 | extern void __setup_cpu_603(unsigned long offset, struct cpu_spec* spec); |
52 | extern void __setup_cpu_604(unsigned long offset, struct cpu_spec* spec); | 53 | extern void __setup_cpu_604(unsigned long offset, struct cpu_spec* spec); |
53 | extern void __setup_cpu_750(unsigned long offset, struct cpu_spec* spec); | 54 | extern void __setup_cpu_750(unsigned long offset, struct cpu_spec* spec); |
@@ -1805,6 +1806,20 @@ static struct cpu_spec __initdata cpu_specs[] = { | |||
1805 | .machine_check = machine_check_440A, | 1806 | .machine_check = machine_check_440A, |
1806 | .platform = "ppc440", | 1807 | .platform = "ppc440", |
1807 | }, | 1808 | }, |
1809 | { /* 464 in APM821xx */ | ||
1810 | .pvr_mask = 0xffffff00, | ||
1811 | .pvr_value = 0x12C41C80, | ||
1812 | .cpu_name = "APM821XX", | ||
1813 | .cpu_features = CPU_FTRS_44X, | ||
1814 | .cpu_user_features = COMMON_USER_BOOKE | | ||
1815 | PPC_FEATURE_HAS_FPU, | ||
1816 | .mmu_features = MMU_FTR_TYPE_44x, | ||
1817 | .icache_bsize = 32, | ||
1818 | .dcache_bsize = 32, | ||
1819 | .cpu_setup = __setup_cpu_apm821xx, | ||
1820 | .machine_check = machine_check_440A, | ||
1821 | .platform = "ppc440", | ||
1822 | }, | ||
1808 | { /* 476 core */ | 1823 | { /* 476 core */ |
1809 | .pvr_mask = 0xffff0000, | 1824 | .pvr_mask = 0xffff0000, |
1810 | .pvr_value = 0x11a50000, | 1825 | .pvr_value = 0x11a50000, |