]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
ENGR00269945: select ARCH_HAS_RESET_CONTROLLER for IMX
authorShawn Guo <shawn.guo@freescale.com>
Sun, 14 Jul 2013 13:39:35 +0000 (21:39 +0800)
committerJason Liu <r64343@freescale.com>
Wed, 30 Oct 2013 01:53:46 +0000 (09:53 +0800)
Move ARCH_HAS_RESET_CONTROLLER from HAVE_IMX_SRC to ARCH_MXC to have it
selected for the whole IMX family instead of SRC (System Reset
Controller), since GPIO could be another reset controller in many cases.

Signed-off-by: Shawn Guo <shawn.guo@freescale.com>
arch/arm/mach-imx/Kconfig

index abf26abb8767afe5a2fbcc557d8df6dae8e4b81e..882fa83b3467e28eba08206d6b3550077a10c224 100644 (file)
@@ -1,5 +1,6 @@
 config ARCH_MXC
        bool "Freescale i.MX family" if ARCH_MULTI_V4_V5 || ARCH_MULTI_V6_V7
+       select ARCH_HAS_RESET_CONTROLLER
        select ARCH_REQUIRE_GPIOLIB
        select ARM_PATCH_PHYS_VIRT
        select AUTO_ZRELADDR if !ZBOOT_ROM
@@ -74,7 +75,6 @@ config HAVE_IMX_MMDC
 
 config HAVE_IMX_SRC
        def_bool y if SMP
-       select ARCH_HAS_RESET_CONTROLLER
 
 config IMX_HAVE_IOMUX_V1
        bool