aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-at91/Makefile
diff options
context:
space:
mode:
authorAlbin Tonnerre <albin.tonnerre@free-electrons.com>2009-11-01 12:40:50 -0500
committerRussell King <rmk+kernel@arm.linux.org.uk>2009-11-10 18:46:35 -0500
commit1ea60cf7062271f0d53d09268726aa1544bf4836 (patch)
tree4e975655fa555fd2346ec50112fbbc8244cb03da /arch/arm/mach-at91/Makefile
parentcd3abf98aeaec9b23a926159856b54a95707ee88 (diff)
ARM: 5778/1: AT91: Add cpuidle support
This patch adds the support for cpuidle on AT91 SoCs, taken from the cpuidle support in mach-kirkwood. cpuidle needs sdram_selfrefresh_enable and _disable, so move their definition to a separate header file instead of duplicating the code already used in pm.c. Tested-by: Nicolas Ferre <nicolas.ferre@atmel.com> Signed-off-by: Albin Tonnerre <albin.tonnerre@free-electrons.com> Acked-by: Andrew Victor <linux@maxim.org.za> Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Diffstat (limited to 'arch/arm/mach-at91/Makefile')
-rw-r--r--arch/arm/mach-at91/Makefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/arm/mach-at91/Makefile b/arch/arm/mach-at91/Makefile
index ada440aab0c5..f9e12bb3fb4e 100644
--- a/arch/arm/mach-at91/Makefile
+++ b/arch/arm/mach-at91/Makefile
@@ -77,6 +77,7 @@ obj-y += leds.o
77# Power Management 77# Power Management
78obj-$(CONFIG_PM) += pm.o 78obj-$(CONFIG_PM) += pm.o
79obj-$(CONFIG_AT91_SLOW_CLOCK) += pm_slowclock.o 79obj-$(CONFIG_AT91_SLOW_CLOCK) += pm_slowclock.o
80obj-$(CONFIG_CPU_IDLE) += cpuidle.o
80 81
81ifeq ($(CONFIG_PM_DEBUG),y) 82ifeq ($(CONFIG_PM_DEBUG),y)
82CFLAGS_pm.o += -DDEBUG 83CFLAGS_pm.o += -DDEBUG