diff options
| author | Olof Johansson <olof@lixom.net> | 2014-05-21 17:35:04 -0400 |
|---|---|---|
| committer | Olof Johansson <olof@lixom.net> | 2014-05-21 17:35:04 -0400 |
| commit | 16ae66cc33c4ee3a0b3d3bb5d444aefa18134b37 (patch) | |
| tree | 199913211021e2998a3fc0eb0eba1a08e7842178 | |
| parent | 96c2ac4cc5beb9c1e3798cb40cf74af093ec60b4 (diff) | |
| parent | 324da938cb7eb103a925817f9aacdcc1f0e22576 (diff) | |
Merge tag 'sunxi-core-for-3.16' of https://github.com/mripard/linux into next/soc
Merge "Allwinner SoCs core additions for 3.16" from Maxime Ripard:
Refactor the Kconfig options to have one Kconfig option per machine.
* tag 'sunxi-core-for-3.16' of https://github.com/mripard/linux:
ARM: sunxi: select MFD_SUN6I_PRCM when sun6i arch support is enabled
ARM: sunxi: Split the various SoCs support in Kconfig
Signed-off-by: Olof Johansson <olof@lixom.net>
| -rw-r--r-- | arch/arm/mach-sunxi/Kconfig | 38 |
1 files changed, 31 insertions, 7 deletions
diff --git a/arch/arm/mach-sunxi/Kconfig b/arch/arm/mach-sunxi/Kconfig index b57d7d53b9d3..0fbd4f156bfa 100644 --- a/arch/arm/mach-sunxi/Kconfig +++ b/arch/arm/mach-sunxi/Kconfig | |||
| @@ -1,14 +1,38 @@ | |||
| 1 | config ARCH_SUNXI | 1 | menuconfig 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 | |||
| 10 | if ARCH_SUNXI | ||
| 11 | |||
| 12 | config MACH_SUN4I | ||
| 13 | bool "Allwinner A10 (sun4i) SoCs support" | ||
| 14 | default ARCH_SUNXI | ||
| 15 | |||
| 16 | config MACH_SUN5I | ||
| 17 | bool "Allwinner A10s / A13 (sun5i) SoCs support" | ||
| 18 | default ARCH_SUNXI | ||
| 19 | select SUN5I_HSTIMER | ||
| 20 | |||
| 21 | config 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 MFD_SUN6I_PRCM | ||
| 27 | select RESET_CONTROLLER | ||
| 28 | select SUN5I_HSTIMER | ||
| 29 | |||
| 30 | config MACH_SUN7I | ||
| 31 | bool "Allwinner A20 (sun7i) SoCs support" | ||
| 32 | default ARCH_SUNXI | ||
| 33 | select ARM_GIC | ||
| 34 | select ARM_PSCI | ||
| 35 | select HAVE_ARM_ARCH_TIMER | ||
| 14 | select SUN5I_HSTIMER | 36 | select SUN5I_HSTIMER |
| 37 | |||
| 38 | endif | ||
