Commit d670878e2c9adb86b37e42b0937b2d4825bd2b39
Committed by
Guan Xuetao
1 parent
ceebf4d501
Exists in
ti-lsk-linux-4.1.y
and in
10 other branches
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>
Showing 1 changed file with 0 additions and 6 deletions Side-by-side Diff
arch/unicore32/Kconfig
... | ... | @@ -51,9 +51,6 @@ |
51 | 51 | config ARCH_HAS_ILOG2_U64 |
52 | 52 | bool |
53 | 53 | |
54 | -config ARCH_HAS_CPUFREQ | |
55 | - bool | |
56 | - | |
57 | 54 | config GENERIC_HWEIGHT |
58 | 55 | def_bool y |
59 | 56 | |
... | ... | @@ -87,7 +84,6 @@ |
87 | 84 | select GENERIC_CLOCKEVENTS |
88 | 85 | select HAVE_CLK |
89 | 86 | select ARCH_REQUIRE_GPIOLIB |
90 | - select ARCH_HAS_CPUFREQ | |
91 | 87 | |
92 | 88 | # CONFIGs for ARCH_PUV3 |
93 | 89 | |
94 | 90 | |
... | ... | @@ -198,9 +194,7 @@ |
198 | 194 | |
199 | 195 | source "kernel/power/Kconfig" |
200 | 196 | |
201 | -if ARCH_HAS_CPUFREQ | |
202 | 197 | source "drivers/cpufreq/Kconfig" |
203 | -endif | |
204 | 198 | |
205 | 199 | config ARCH_SUSPEND_POSSIBLE |
206 | 200 | def_bool y if !ARCH_FPGA |