aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-sunxi
diff options
context:
space:
mode:
authorChen-Yu Tsai <wens@csie.org>2014-07-03 10:55:47 -0400
committerMaxime Ripard <maxime.ripard@free-electrons.com>2014-07-07 05:00:06 -0400
commit5ba1657ecdee507df4adcd05b533d09e9934fc11 (patch)
tree169ea2b0329946ddfafcccea832a63fa380ea874 /arch/arm/mach-sunxi
parentc47185433ec38f38e94480bb9d731fcaa205e128 (diff)
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
38config MACH_SUN8I 38config MACH_SUN8I
39 bool "Allwinner A23 (sun8i) SoCs support" 39 bool "Allwinner A23 (sun8i) SoCs support"
40 default ARCH_SUNXI 40 default ARCH_SUNXI
41 select ARCH_HAS_RESET_CONTROLLER
41 select ARM_GIC 42 select ARM_GIC
43 select MFD_SUN6I_PRCM
44 select RESET_CONTROLLER
42 45
43endif 46endif