aboutsummaryrefslogtreecommitdiffstats
path: root/arch/unicore32
diff options
context:
space:
mode:
authorStephen Boyd <sboyd@codeaurora.org>2014-06-03 14:30:03 -0400
committerGuan Xuetao <gxt@mprc.pku.edu.cn>2014-06-19 20:22:41 -0400
commitd670878e2c9adb86b37e42b0937b2d4825bd2b39 (patch)
treeb9f9afbcb014af9e2b94703e448c934099e8a885 /arch/unicore32
parentceebf4d5016bd1182b214eafd46ebd24d6cdf668 (diff)
unicore32: Remove ARCH_HAS_CPUFREQ config option
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> Reviewed-by: Viresh Kumar <viresh.kumar@linaro.org> Signed-off-by: Xuetao Guan <gxt@mprc.pku.edu.cn>
Diffstat (limited to 'arch/unicore32')
-rw-r--r--arch/unicore32/Kconfig6
1 files changed, 0 insertions, 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
51config ARCH_HAS_ILOG2_U64 51config ARCH_HAS_ILOG2_U64
52 bool 52 bool
53 53
54config ARCH_HAS_CPUFREQ
55 bool
56
57config GENERIC_HWEIGHT 54config GENERIC_HWEIGHT
58 def_bool y 55 def_bool y
59 56
@@ -87,7 +84,6 @@ config ARCH_PUV3
87 select GENERIC_CLOCKEVENTS 84 select GENERIC_CLOCKEVENTS
88 select HAVE_CLK 85 select HAVE_CLK
89 select ARCH_REQUIRE_GPIOLIB 86 select ARCH_REQUIRE_GPIOLIB
90 select ARCH_HAS_CPUFREQ
91 87
92# CONFIGs for ARCH_PUV3 88# CONFIGs for ARCH_PUV3
93 89
@@ -198,9 +194,7 @@ menu "Power management options"
198 194
199source "kernel/power/Kconfig" 195source "kernel/power/Kconfig"
200 196
201if ARCH_HAS_CPUFREQ
202source "drivers/cpufreq/Kconfig" 197source "drivers/cpufreq/Kconfig"
203endif
204 198
205config ARCH_SUSPEND_POSSIBLE 199config ARCH_SUSPEND_POSSIBLE
206 def_bool y if !ARCH_FPGA 200 def_bool y if !ARCH_FPGA