Skip to content

Commit

Permalink
unicore32: Remove ARCH_HAS_CPUFREQ config option
Browse files Browse the repository at this point in the history
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 <[email protected]>
Signed-off-by: Stephen Boyd <[email protected]>
Reviewed-by: Viresh Kumar <[email protected]>
Signed-off-by: Xuetao Guan <[email protected]>
  • Loading branch information
bebarino authored and gxt committed Jun 20, 2014
1 parent ceebf4d commit d670878
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions arch/unicore32/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down Expand Up @@ -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

Expand Down Expand Up @@ -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
Expand Down

0 comments on commit d670878

Please sign in to comment.