9a23fe65cf
When the CPU_IDLE and the ARCH_KIRKWOOD options are set it is pointless to define a new option CPU_IDLE_KIRKWOOD because it is redundant. The Makefile drivers directory contains a condition to compile the cpuidle drivers: obj-$(CONFIG_CPU_IDLE) += cpuidle/ Hence, if CPU_IDLE is not set we won't enter this directory. This patch removes the useless Kconfig option and replaces the condition in the Makefile by CONFIG_ARCH_KIRKWOOD. Signed-off-by: Daniel Lezcano <daniel.lezcano@linaro.org> Acked-by: Jason Cooper <jason@lakedaemon.net> Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
43 lines
1.0 KiB
Plaintext
43 lines
1.0 KiB
Plaintext
|
|
config CPU_IDLE
|
|
bool "CPU idle PM support"
|
|
default y if ACPI || PPC_PSERIES
|
|
help
|
|
CPU idle is a generic framework for supporting software-controlled
|
|
idle processor power management. It includes modular cross-platform
|
|
governors that can be swapped during runtime.
|
|
|
|
If you're using an ACPI-enabled platform, you should say Y here.
|
|
|
|
config CPU_IDLE_MULTIPLE_DRIVERS
|
|
bool "Support multiple cpuidle drivers"
|
|
depends on CPU_IDLE
|
|
default n
|
|
help
|
|
Allows the cpuidle framework to use different drivers for each CPU.
|
|
This is useful if you have a system with different CPU latencies and
|
|
states. If unsure say N.
|
|
|
|
config CPU_IDLE_GOV_LADDER
|
|
bool
|
|
depends on CPU_IDLE
|
|
default y
|
|
|
|
config CPU_IDLE_GOV_MENU
|
|
bool
|
|
depends on CPU_IDLE && NO_HZ
|
|
default y
|
|
|
|
config ARCH_NEEDS_CPU_IDLE_COUPLED
|
|
def_bool n
|
|
|
|
if CPU_IDLE
|
|
|
|
config CPU_IDLE_CALXEDA
|
|
bool "CPU Idle Driver for Calxeda processors"
|
|
depends on ARCH_HIGHBANK
|
|
help
|
|
Select this to enable cpuidle on Calxeda processors.
|
|
|
|
endif
|