diff options
author | Zhiwu Song <Zhiwu.Song@csr.com> | 2015-01-04 04:53:37 -0500 |
---|---|---|
committer | Barry Song <Baohua.Song@csr.com> | 2015-01-20 06:56:58 -0500 |
commit | 4cba058526a7563603ab18f06e298633dd69fc77 (patch) | |
tree | 51a91d741249dbb0559938f1647423f0d74db832 | |
parent | 1805f4d6514b70d40bf9468308fa8bdfbfcd3905 (diff) |
ARM: sirf: add Atlas7 machine support
CSRatlas7 is next-gen auto SoC from CSR.
It could bring to customers most integrated SoC solution:
- World leading Bluetooth 4.0 and GNSS baseband
- Audio processing, analog CODEC and ADC by DSP
- Analog video input
- SDR accelerators
- CAN bus support by Cortex-M3
Signed-off-by: Zhiwu Song <Zhiwu.Song@csr.com>
Signed-off-by: Barry Song <Baohua.Song@csr.com>
Acked-by: Arnd Bergmann <arnd@arndb.de>
-rw-r--r-- | arch/arm/mach-prima2/Kconfig | 13 | ||||
-rw-r--r-- | arch/arm/mach-prima2/common.c | 13 |
2 files changed, 25 insertions, 1 deletions
diff --git a/arch/arm/mach-prima2/Kconfig b/arch/arm/mach-prima2/Kconfig index cc1c3238ae90..a219dc310d5d 100644 --- a/arch/arm/mach-prima2/Kconfig +++ b/arch/arm/mach-prima2/Kconfig | |||
@@ -11,7 +11,7 @@ menuconfig ARCH_SIRF | |||
11 | 11 | ||
12 | if ARCH_SIRF | 12 | if ARCH_SIRF |
13 | 13 | ||
14 | comment "CSR SiRF atlas6/primaII/Marco/Polo Specific Features" | 14 | comment "CSR SiRF atlas6/primaII/Atlas7 Specific Features" |
15 | 15 | ||
16 | config ARCH_ATLAS6 | 16 | config ARCH_ATLAS6 |
17 | bool "CSR SiRFSoC ATLAS6 ARM Cortex A9 Platform" | 17 | bool "CSR SiRFSoC ATLAS6 ARM Cortex A9 Platform" |
@@ -20,6 +20,17 @@ config ARCH_ATLAS6 | |||
20 | help | 20 | help |
21 | Support for CSR SiRFSoC ARM Cortex A9 Platform | 21 | Support for CSR SiRFSoC ARM Cortex A9 Platform |
22 | 22 | ||
23 | config ARCH_ATLAS7 | ||
24 | bool "CSR SiRFSoC ATLAS7 ARM Cortex A7 Platform" | ||
25 | default y | ||
26 | select ARM_GIC | ||
27 | select CPU_V7 | ||
28 | select HAVE_ARM_SCU if SMP | ||
29 | select HAVE_SMP | ||
30 | select SMP_ON_UP if SMP | ||
31 | help | ||
32 | Support for CSR SiRFSoC ARM Cortex A7 Platform | ||
33 | |||
23 | config ARCH_PRIMA2 | 34 | config ARCH_PRIMA2 |
24 | bool "CSR SiRFSoC PRIMA2 ARM Cortex A9 Platform" | 35 | bool "CSR SiRFSoC PRIMA2 ARM Cortex A9 Platform" |
25 | default y | 36 | default y |
diff --git a/arch/arm/mach-prima2/common.c b/arch/arm/mach-prima2/common.c index c62ff68c7fc4..0c819bb88418 100644 --- a/arch/arm/mach-prima2/common.c +++ b/arch/arm/mach-prima2/common.c | |||
@@ -50,3 +50,16 @@ DT_MACHINE_START(PRIMA2_DT, "Generic PRIMA2 (Flattened Device Tree)") | |||
50 | .dt_compat = prima2_dt_match, | 50 | .dt_compat = prima2_dt_match, |
51 | MACHINE_END | 51 | MACHINE_END |
52 | #endif | 52 | #endif |
53 | |||
54 | #ifdef CONFIG_ARCH_ATLAS7 | ||
55 | static const char *atlas7_dt_match[] __initdata = { | ||
56 | "sirf,atlas7", | ||
57 | NULL | ||
58 | }; | ||
59 | |||
60 | DT_MACHINE_START(ATLAS7_DT, "Generic ATLAS7 (Flattened Device Tree)") | ||
61 | /* Maintainer: Barry Song <baohua.song@csr.com> */ | ||
62 | .smp = smp_ops(sirfsoc_smp_ops), | ||
63 | .dt_compat = atlas7_dt_match, | ||
64 | MACHINE_END | ||
65 | #endif | ||