public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] unicore32: Remove ARCH_HAS_CPUFREQ config option
@ 2014-06-03 18:30 Stephen Boyd
  2014-06-04  5:10 ` Viresh Kumar
  2014-06-05  0:34 ` 回复: " Xuetao Guan 
  0 siblings, 2 replies; 3+ messages in thread
From: Stephen Boyd @ 2014-06-03 18:30 UTC (permalink / raw)
  To: Guan Xuetao; +Cc: linux-kernel, Viresh Kumar

This config exists entirely to hide the cpufreq menu from the
kernel configuration unless a platform has selected it. Nothing
is actually built if this config is 'Y' and it just leads to more
patches that add a select under a platform Kconfig so that some
other CPUfreq option can be chosen. Let's remove the option so
that we can always enable CPUfreq drivers on unicore32 platforms.

Cc: Viresh Kumar <viresh.kumar@linaro.org>
Signed-off-by: Stephen Boyd <sboyd@codeaurora.org>
---
 arch/unicore32/Kconfig | 6 ------
 1 file changed, 6 deletions(-)

diff --git a/arch/unicore32/Kconfig b/arch/unicore32/Kconfig
index aafad6fa1667..928237a7b9ca 100644
--- a/arch/unicore32/Kconfig
+++ b/arch/unicore32/Kconfig
@@ -51,9 +51,6 @@ config ARCH_HAS_ILOG2_U32
 config ARCH_HAS_ILOG2_U64
 	bool
 
-config ARCH_HAS_CPUFREQ
-	bool
-
 config GENERIC_HWEIGHT
 	def_bool y
 
@@ -87,7 +84,6 @@ config ARCH_PUV3
 	select GENERIC_CLOCKEVENTS
 	select HAVE_CLK
 	select ARCH_REQUIRE_GPIOLIB
-	select ARCH_HAS_CPUFREQ
 
 # CONFIGs for ARCH_PUV3
 
@@ -198,9 +194,7 @@ menu "Power management options"
 
 source "kernel/power/Kconfig"
 
-if ARCH_HAS_CPUFREQ
 source "drivers/cpufreq/Kconfig"
-endif
 
 config ARCH_SUSPEND_POSSIBLE
 	def_bool y if !ARCH_FPGA
-- 
The Qualcomm Innovation Center, Inc. is a member of the Code Aurora Forum,
hosted by The Linux Foundation


^ permalink raw reply related	[flat|nested] 3+ messages in thread

* Re: [PATCH] unicore32: Remove ARCH_HAS_CPUFREQ config option
  2014-06-03 18:30 [PATCH] unicore32: Remove ARCH_HAS_CPUFREQ config option Stephen Boyd
@ 2014-06-04  5:10 ` Viresh Kumar
  2014-06-05  0:34 ` 回复: " Xuetao Guan 
  1 sibling, 0 replies; 3+ messages in thread
From: Viresh Kumar @ 2014-06-04  5:10 UTC (permalink / raw)
  To: Stephen Boyd; +Cc: Guan Xuetao, Linux Kernel Mailing List

On 4 June 2014 00:00, Stephen Boyd <sboyd@codeaurora.org> wrote:
> This config exists entirely to hide the cpufreq menu from the
> kernel configuration unless a platform has selected it. Nothing
> is actually built if this config is 'Y' and it just leads to more
> patches that add a select under a platform Kconfig so that some
> other CPUfreq option can be chosen. Let's remove the option so
> that we can always enable CPUfreq drivers on unicore32 platforms.
>
> Cc: Viresh Kumar <viresh.kumar@linaro.org>
> Signed-off-by: Stephen Boyd <sboyd@codeaurora.org>
> ---
>  arch/unicore32/Kconfig | 6 ------
>  1 file changed, 6 deletions(-)

Reviewed-by: Viresh Kumar <viresh.kumar@linaro.org>

^ permalink raw reply	[flat|nested] 3+ messages in thread

* 回复: [PATCH] unicore32: Remove ARCH_HAS_CPUFREQ config option
  2014-06-03 18:30 [PATCH] unicore32: Remove ARCH_HAS_CPUFREQ config option Stephen Boyd
  2014-06-04  5:10 ` Viresh Kumar
@ 2014-06-05  0:34 ` Xuetao Guan 
  1 sibling, 0 replies; 3+ messages in thread
From: Xuetao Guan  @ 2014-06-05  0:34 UTC (permalink / raw)
  To: Stephen Boyd; +Cc: Guan Xuetao, linux-kernel, Viresh Kumar


----- Stephen Boyd <sboyd@codeaurora.org> 写道:
> This config exists entirely to hide the cpufreq menu from the
> kernel configuration unless a platform has selected it. Nothing
> is actually built if this config is 'Y' and it just leads to more
> patches that add a select under a platform Kconfig so that some
> other CPUfreq option can be chosen. Let's remove the option so
> that we can always enable CPUfreq drivers on unicore32 platforms.
> 
> Cc: Viresh Kumar <viresh.kumar@linaro.org>
> Signed-off-by: Stephen Boyd <sboyd@codeaurora.org>

Thanks, I'll push it in my repo.

Signed-off-by: Xuetao Guan <gxt@mprc.pku.edu.cn>

> ---
>  arch/unicore32/Kconfig | 6 ------
>  1 file changed, 6 deletions(-)
> 
> diff --git a/arch/unicore32/Kconfig b/arch/unicore32/Kconfig
> index aafad6fa1667..928237a7b9ca 100644
> --- a/arch/unicore32/Kconfig
> +++ b/arch/unicore32/Kconfig
> @@ -51,9 +51,6 @@ config ARCH_HAS_ILOG2_U32
>  config ARCH_HAS_ILOG2_U64
>  	bool
>  
> -config ARCH_HAS_CPUFREQ
> -	bool
> -
>  config GENERIC_HWEIGHT
>  	def_bool y
>  
> @@ -87,7 +84,6 @@ config ARCH_PUV3
>  	select GENERIC_CLOCKEVENTS
>  	select HAVE_CLK
>  	select ARCH_REQUIRE_GPIOLIB
> -	select ARCH_HAS_CPUFREQ
>  
>  # CONFIGs for ARCH_PUV3
>  
> @@ -198,9 +194,7 @@ menu "Power management options"
>  
>  source "kernel/power/Kconfig"
>  
> -if ARCH_HAS_CPUFREQ
>  source "drivers/cpufreq/Kconfig"
> -endif
>  
>  config ARCH_SUSPEND_POSSIBLE
>  	def_bool y if !ARCH_FPGA
> -- 
> The Qualcomm Innovation Center, Inc. is a member of the Code Aurora Forum,
> hosted by The Linux Foundation
> 


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2014-06-05  0:34 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-06-03 18:30 [PATCH] unicore32: Remove ARCH_HAS_CPUFREQ config option Stephen Boyd
2014-06-04  5:10 ` Viresh Kumar
2014-06-05  0:34 ` 回复: " Xuetao Guan 

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox