summaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-mmp/Makefile
diff options
context:
space:
mode:
authorChao Xie2012-05-07 05:22:23 +0200
committerHaojian Zhuang2012-05-07 05:35:00 +0200
commit87046f4f3194ac0a795a10f3368ac73c04c633e3 (patch)
tree142681e56baadcb7d6d2269c051d7ee8dcc4311c /arch/arm/mach-mmp/Makefile
parentARM: mmp: move XX_REG definition to addr-map.h (diff)
downloadkernel-qcow2-linux-87046f4f3194ac0a795a10f3368ac73c04c633e3.tar.gz
kernel-qcow2-linux-87046f4f3194ac0a795a10f3368ac73c04c633e3.tar.xz
kernel-qcow2-linux-87046f4f3194ac0a795a10f3368ac73c04c633e3.zip
ARM: mmp: add PM support for mmp2
MMP2 can enter system sleep level during suspend. It can be waken up by PMIC interrupt, RTC/ALARM. Signed-off-by: Chao Xie <chao.xie@marvell.com> Signed-off-by: Haojian Zhuang <haojian.zhuang@gmail.com>
Diffstat (limited to 'arch/arm/mach-mmp/Makefile')
-rw-r--r--arch/arm/mach-mmp/Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/arch/arm/mach-mmp/Makefile b/arch/arm/mach-mmp/Makefile
index b920b9bfbdb6..7d60cef417e4 100644
--- a/arch/arm/mach-mmp/Makefile
+++ b/arch/arm/mach-mmp/Makefile
@@ -9,6 +9,10 @@ obj-$(CONFIG_CPU_PXA168) += pxa168.o
obj-$(CONFIG_CPU_PXA910) += pxa910.o
obj-$(CONFIG_CPU_MMP2) += mmp2.o sram.o
+ifeq ($(CONFIG_PM),y)
+obj-$(CONFIG_CPU_MMP2) += pm-mmp2.o
+endif
+
# board support
obj-$(CONFIG_MACH_ASPENITE) += aspenite.o
obj-$(CONFIG_MACH_ZYLONITE2) += aspenite.o