diff options
author | John Tobias <john.tobias.ph@gmail.com> | 2014-01-14 09:36:47 -0500 |
---|---|---|
committer | Shawn Guo <shawn.guo@linaro.org> | 2014-03-04 21:35:06 -0500 |
commit | 5a1513f60fa76d54121959ad5ffa127a93bfaaa3 (patch) | |
tree | a1bfb3c3ead8b87b8f79884264621252e96f552c | |
parent | 80130a59b25102790ec360d75a6d0d1ad87c81a7 (diff) |
ARM: imx: add select on ARCH_MXC for cpufreq support
Move ARCH_HAS_CPUFREQ, ARCH_HAS_OPP and PM_OPP on ARCH_MXC so that
the user can enable the cpufreq support for iMX6Q and/or iMX6SL.
Signed-off-by: John Tobias <john.tobias.ph@gmail.com>
Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
-rw-r--r-- | arch/arm/mach-imx/Kconfig | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/arch/arm/mach-imx/Kconfig b/arch/arm/mach-imx/Kconfig index a2f48487e90b..c26a619fe77e 100644 --- a/arch/arm/mach-imx/Kconfig +++ b/arch/arm/mach-imx/Kconfig | |||
@@ -1,11 +1,14 @@ | |||
1 | config ARCH_MXC | 1 | config ARCH_MXC |
2 | bool "Freescale i.MX family" if ARCH_MULTI_V4_V5 || ARCH_MULTI_V6_V7 | 2 | bool "Freescale i.MX family" if ARCH_MULTI_V4_V5 || ARCH_MULTI_V6_V7 |
3 | select ARCH_HAS_CPUFREQ | ||
4 | select ARCH_HAS_OPP | ||
3 | select ARCH_REQUIRE_GPIOLIB | 5 | select ARCH_REQUIRE_GPIOLIB |
4 | select ARM_CPU_SUSPEND if PM | 6 | select ARM_CPU_SUSPEND if PM |
5 | select CLKSRC_MMIO | 7 | select CLKSRC_MMIO |
6 | select GENERIC_ALLOCATOR | 8 | select GENERIC_ALLOCATOR |
7 | select GENERIC_IRQ_CHIP | 9 | select GENERIC_IRQ_CHIP |
8 | select PINCTRL | 10 | select PINCTRL |
11 | select PM_OPP if PM | ||
9 | select SOC_BUS | 12 | select SOC_BUS |
10 | help | 13 | help |
11 | Support for Freescale MXC/iMX-based family of processors | 14 | Support for Freescale MXC/iMX-based family of processors |
@@ -777,8 +780,6 @@ config SOC_IMX53 | |||
777 | 780 | ||
778 | config SOC_IMX6Q | 781 | config SOC_IMX6Q |
779 | bool "i.MX6 Quad/DualLite support" | 782 | bool "i.MX6 Quad/DualLite support" |
780 | select ARCH_HAS_CPUFREQ | ||
781 | select ARCH_HAS_OPP | ||
782 | select ARM_ERRATA_754322 | 783 | select ARM_ERRATA_754322 |
783 | select ARM_ERRATA_764369 if SMP | 784 | select ARM_ERRATA_764369 if SMP |
784 | select ARM_ERRATA_775420 | 785 | select ARM_ERRATA_775420 |
@@ -796,7 +797,6 @@ config SOC_IMX6Q | |||
796 | select PL310_ERRATA_588369 if CACHE_PL310 | 797 | select PL310_ERRATA_588369 if CACHE_PL310 |
797 | select PL310_ERRATA_727915 if CACHE_PL310 | 798 | select PL310_ERRATA_727915 if CACHE_PL310 |
798 | select PL310_ERRATA_769419 if CACHE_PL310 | 799 | select PL310_ERRATA_769419 if CACHE_PL310 |
799 | select PM_OPP if PM | ||
800 | 800 | ||
801 | help | 801 | help |
802 | This enables support for Freescale i.MX6 Quad processor. | 802 | This enables support for Freescale i.MX6 Quad processor. |