summary refs log tree commit diff
path: root/arch/sh/kernel/cpu/sh4a/Makefile
diff options
context:
space:
mode:
authorMagnus Damm <damm@igel.co.jp>2009-03-13 15:23:04 +0000
committerPaul Mundt <lethal@linux-sh.org>2009-03-16 19:52:53 +0900
commit7759491274bc5ba7cd72b3b9cc5ec8247b937efb (patch)
treef6e98001aa8296220e429c30ac3a8cc42b8cc95d /arch/sh/kernel/cpu/sh4a/Makefile
parent7a516280b6a99634933b417834e178bde8659da1 (diff)
downloadlinux-7759491274bc5ba7cd72b3b9cc5ec8247b937efb.tar.gz
sh: SuperH Mobile suspend support
This patch contains CONFIG_SUSPEND support to the SuperH
architecture. If enabled, SuperH Mobile processors will
register their suspend callbacks during boot.

To suspend, use "echo mem > /sys/power/state". To allow
wakeup, make sure "/sys/device/platform/../power/wakeup"
contains "enabled". Additional per-device driver patches
are most likely needed.

Signed-off-by: Magnus Damm <damm@igel.co.jp>
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
Diffstat (limited to 'arch/sh/kernel/cpu/sh4a/Makefile')
-rw-r--r--arch/sh/kernel/cpu/sh4a/Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/arch/sh/kernel/cpu/sh4a/Makefile b/arch/sh/kernel/cpu/sh4a/Makefile
index 1a92361feeb9..09967dc0065a 100644
--- a/arch/sh/kernel/cpu/sh4a/Makefile
+++ b/arch/sh/kernel/cpu/sh4a/Makefile
@@ -35,6 +35,10 @@ pinmux-$(CONFIG_CPU_SUBTYPE_SH7723)	:= pinmux-sh7723.o
 pinmux-$(CONFIG_CPU_SUBTYPE_SH7785)	:= pinmux-sh7785.o
 pinmux-$(CONFIG_CPU_SUBTYPE_SH7786)	:= pinmux-sh7786.o
 
+# Power Mangement & Sleep mode
+pm-$(CONFIG_ARCH_SHMOBILE)		:= pm-sh_mobile.o sleep-sh_mobile.o
+
 obj-y			+= $(clock-y)
 obj-$(CONFIG_SMP)	+= $(smp-y)
 obj-$(CONFIG_GENERIC_GPIO)	+= $(pinmux-y)
+obj-$(CONFIG_PM)	+= $(pm-y)