[PATCH 2/2] cpufreq: highbank: rework the kconfig dependencies for arm64
Viresh Kumar
viresh.kumar at linaro.org
Mon Dec 16 03:54:07 EST 2013
On 5 December 2013 05:53, Rob Herring <robherring2 at gmail.com> wrote:
> From: Rob Herring <rob.herring at calxeda.com>
>
> Make ARM_HIGHBANK_CPUFREQ not depend on ARCH_HIGHBANK to enable on
> arm64 and also give better build converage. Change the selects to be
s/converage/coverage
> same depends as the cpu0 driver. Otherwise, we can get kconfig select
> errors. Also, add missing depends for PL320_MBOX.
>
> Signed-off-by: Rob Herring <rob.herring at calxeda.com>
> Cc: "Rafael J. Wysocki" <rjw at sisk.pl>
> Cc: Viresh Kumar <viresh.kumar at linaro.org>
> Cc: cpufreq at vger.kernel.org
> Cc: linux-pm at vger.kernel.org
> ---
> drivers/cpufreq/Kconfig.arm | 14 ++++++--------
> 1 file changed, 6 insertions(+), 8 deletions(-)
>
> diff --git a/drivers/cpufreq/Kconfig.arm b/drivers/cpufreq/Kconfig.arm
> index ce52ed9..0d7130d 100644
> --- a/drivers/cpufreq/Kconfig.arm
> +++ b/drivers/cpufreq/Kconfig.arm
> @@ -65,16 +65,14 @@ config ARM_EXYNOS5440_CPUFREQ
> If in doubt, say N.
>
> config ARM_HIGHBANK_CPUFREQ
> - tristate "Calxeda Highbank-based"
> - depends on ARCH_HIGHBANK
> - select GENERIC_CPUFREQ_CPU0
> + tristate "Calxeda ECX based"
> + depends on HAVE_CLK && REGULATOR && OF
> + depends on PL320_MBOX
> + select ARCH_HAS_OPP
> select PM_OPP
> - select REGULATOR
> -
> - default m
> + select GENERIC_CPUFREQ_CPU0
> help
> - This adds the CPUFreq driver for Calxeda Highbank SoC
> - based boards.
> + This adds the CPUFreq driver for Calxeda based SoCs.
>
> If in doubt, say N.
Acked-by: Viresh Kumar <viresh.kumar at linaro.org> for both patches.
More information about the linux-arm-kernel
mailing list