aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMaxime Ripard <maxime.ripard@free-electrons.com>2014-04-28 19:03:20 -0400
committerMaxime Ripard <maxime.ripard@free-electrons.com>2014-05-04 21:23:00 -0400
commit559482d1f950b7905728208d16cf5785cc6093ea (patch)
treefbd6dfe345e985b5c4b808843f3805cd99a3c2c7
parentc9eaa447e77efe77b7fa4c953bd62de8297fd6c5 (diff)
ARM: sunxi: Split the various SoCs support in Kconfig
This will allow to better isolate various options, and reduce the overall kernel size if we're interested in only one of the SoCs. Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
-rw-r--r--arch/arm/mach-sunxi/Kconfig37
1 files changed, 30 insertions, 7 deletions
diff --git a/arch/arm/mach-sunxi/Kconfig b/arch/arm/mach-sunxi/Kconfig
index b57d7d53b9d3..3aff96602868 100644
--- a/arch/arm/mach-sunxi/Kconfig
+++ b/arch/arm/mach-sunxi/Kconfig
@@ -1,14 +1,37 @@
1config ARCH_SUNXI 1menuconfig ARCH_SUNXI
2 bool "Allwinner A1X SOCs" if ARCH_MULTI_V7 2 bool "Allwinner SoCs" if ARCH_MULTI_V7
3 select ARCH_HAS_RESET_CONTROLLER
4 select ARCH_REQUIRE_GPIOLIB 3 select ARCH_REQUIRE_GPIOLIB
5 select ARM_GIC
6 select ARM_PSCI
7 select CLKSRC_MMIO 4 select CLKSRC_MMIO
8 select GENERIC_IRQ_CHIP 5 select GENERIC_IRQ_CHIP
9 select HAVE_ARM_ARCH_TIMER
10 select PINCTRL 6 select PINCTRL
11 select PINCTRL_SUNXI 7 select PINCTRL_SUNXI
12 select RESET_CONTROLLER
13 select SUN4I_TIMER 8 select SUN4I_TIMER
9
10if ARCH_SUNXI
11
12config MACH_SUN4I
13 bool "Allwinner A10 (sun4i) SoCs support"
14 default ARCH_SUNXI
15
16config MACH_SUN5I
17 bool "Allwinner A10s / A13 (sun5i) SoCs support"
18 default ARCH_SUNXI
19 select SUN5I_HSTIMER
20
21config MACH_SUN6I
22 bool "Allwinner A31 (sun6i) SoCs support"
23 default ARCH_SUNXI
24 select ARCH_HAS_RESET_CONTROLLER
25 select ARM_GIC
26 select RESET_CONTROLLER
27 select SUN5I_HSTIMER
28
29config MACH_SUN7I
30 bool "Allwinner A20 (sun7i) SoCs support"
31 default ARCH_SUNXI
32 select ARM_GIC
33 select ARM_PSCI
34 select HAVE_ARM_ARCH_TIMER
14 select SUN5I_HSTIMER 35 select SUN5I_HSTIMER
36
37endif