Commit b98e01ad authored by Sahara's avatar Sahara Committed by Daniel Lezcano

cpuidle: Add Kconfig.arm and move calxeda, kirkwood and zynq

Add Kconfig.arm for ARM cpuidle drivers and moves calxeda, kirkwood
and zynq to Kconfig.arm.  Like in the cpufreq menu, "CPU Idle" menu
is added to drivers/cpuidle/Kconfig.
Signed-off-by: default avatarSahara <keun-o.park@windriver.com>
parent 3b2f64d0
menu "CPU Idle"
menuconfig CPU_IDLE config CPU_IDLE
bool "CPU idle PM support" bool "CPU idle PM support"
default y if ACPI || PPC_PSERIES default y if ACPI || PPC_PSERIES
select CPU_IDLE_GOV_LADDER if (!NO_HZ && !NO_HZ_IDLE) select CPU_IDLE_GOV_LADDER if (!NO_HZ && !NO_HZ_IDLE)
...@@ -29,20 +30,13 @@ config CPU_IDLE_GOV_MENU ...@@ -29,20 +30,13 @@ config CPU_IDLE_GOV_MENU
bool "Menu governor (for tickless system)" bool "Menu governor (for tickless system)"
default y default y
config CPU_IDLE_CALXEDA menu "ARM CPU Idle Drivers"
bool "CPU Idle Driver for Calxeda processors" depends on ARM
depends on ARCH_HIGHBANK source "drivers/cpuidle/Kconfig.arm"
select ARM_CPU_SUSPEND endmenu
help
Select this to enable cpuidle on Calxeda processors.
config CPU_IDLE_ZYNQ
bool "CPU Idle Driver for Xilinx Zynq processors"
depends on ARCH_ZYNQ
help
Select this to enable cpuidle on Xilinx Zynq processors.
endif endif
config ARCH_NEEDS_CPU_IDLE_COUPLED config ARCH_NEEDS_CPU_IDLE_COUPLED
def_bool n def_bool n
endmenu
#
# ARM CPU Idle drivers
#
config ARM_HIGHBANK_CPUIDLE
bool "CPU Idle Driver for Calxeda processors"
depends on ARCH_HIGHBANK
select ARM_CPU_SUSPEND
help
Select this to enable cpuidle on Calxeda processors.
config ARM_KIRKWOOD_CPUIDLE
bool "CPU Idle Driver for Marvell Kirkwood SoCs"
depends on ARCH_KIRKWOOD
help
This adds the CPU Idle driver for Marvell Kirkwood SoCs.
config ARM_ZYNQ_CPUIDLE
bool "CPU Idle Driver for Xilinx Zynq processors"
depends on ARCH_ZYNQ
help
...@@ -5,6 +5,8 @@ ...@@ -5,6 +5,8 @@
obj-y += cpuidle.o driver.o governor.o sysfs.o governors/ obj-y += cpuidle.o driver.o governor.o sysfs.o governors/
obj-$(CONFIG_ARCH_NEEDS_CPU_IDLE_COUPLED) += coupled.o obj-$(CONFIG_ARCH_NEEDS_CPU_IDLE_COUPLED) += coupled.o
obj-$(CONFIG_CPU_IDLE_CALXEDA) += cpuidle-calxeda.o ##################################################################################
obj-$(CONFIG_ARCH_KIRKWOOD) += cpuidle-kirkwood.o # ARM SoC drivers
obj-$(CONFIG_CPU_IDLE_ZYNQ) += cpuidle-zynq.o obj-$(CONFIG_ARM_HIGHBANK_CPUIDLE) += cpuidle-calxeda.o
obj-$(CONFIG_ARM_KIRKWOOD_CPUIDLE) += cpuidle-kirkwood.o
obj-$(CONFIG_ARM_ZYNQ_CPUIDLE) += cpuidle-zynq.o
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment