summaryrefslogtreecommitdiff
path: root/arch/arm/mach-sunxi
diff options
context:
space:
mode:
authorChen-Yu Tsai <wens@csie.org>2014-07-03 22:55:47 +0800
committerMaxime Ripard <maxime.ripard@free-electrons.com>2014-07-07 11:00:06 +0200
commit5ba1657ecdee507df4adcd05b533d09e9934fc11 (patch)
tree169ea2b0329946ddfafcccea832a63fa380ea874 /arch/arm/mach-sunxi
parentc47185433ec38f38e94480bb9d731fcaa205e128 (diff)
downloadlinux-next-5ba1657ecdee507df4adcd05b533d09e9934fc11.tar.gz
ARM: sunxi: select MFD_SUN6I_PRCM when sun8i arch support is enabled
Select the MFD_SUN6I_PRCM option when sun8i arch is enabled in order to get the PRCM (Power/Reset/Clock Management) related drivers compiled. Also select ARCH_HAS_RESET_CONTROLLER and RESET_CONTROLLER to make sure the reset controller drivers are compiled. Signed-off-by: Chen-Yu Tsai <wens@csie.org> Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
Diffstat (limited to 'arch/arm/mach-sunxi')
-rw-r--r--arch/arm/mach-sunxi/Kconfig3
1 files changed, 3 insertions, 0 deletions
diff --git a/arch/arm/mach-sunxi/Kconfig b/arch/arm/mach-sunxi/Kconfig
index f776c5f1bb89..6434e3b62c13 100644
--- a/arch/arm/mach-sunxi/Kconfig
+++ b/arch/arm/mach-sunxi/Kconfig
@@ -38,6 +38,9 @@ config MACH_SUN7I
config MACH_SUN8I
bool "Allwinner A23 (sun8i) SoCs support"
default ARCH_SUNXI
+ select ARCH_HAS_RESET_CONTROLLER
select ARM_GIC
+ select MFD_SUN6I_PRCM
+ select RESET_CONTROLLER
endif