forked from Minki/linux
2ef7f0dab6
Add Suspend-to-disk / swsusp / CONFIG_HIBERNATION support to the SuperH architecture. To suspend, use "swapon /dev/sda2; echo disk > /sys/power/state" To resume, pass "resume=/dev/sda2" on the kernel command line. The patch "pm: rework includes, remove arch ifdefs V2" is needed to allow the generic swsusp code to build properly. Hibernation is not enabled with this patch though, a patch setting ARCH_HIBERNATION_POSSIBLE will be submitted later. Signed-off-by: Magnus Damm <damm@igel.co.jp> Signed-off-by: Paul Mundt <lethal@linux-sh.org>
34 lines
1.1 KiB
Makefile
34 lines
1.1 KiB
Makefile
#
|
|
# Makefile for the Linux/SuperH SH-3 backends.
|
|
#
|
|
|
|
obj-y := ex.o probe.o entry.o setup-sh3.o
|
|
|
|
obj-$(CONFIG_HIBERNATION) += swsusp.o
|
|
|
|
# CPU subtype setup
|
|
obj-$(CONFIG_CPU_SUBTYPE_SH7705) += setup-sh7705.o
|
|
obj-$(CONFIG_CPU_SUBTYPE_SH7706) += setup-sh770x.o
|
|
obj-$(CONFIG_CPU_SUBTYPE_SH7707) += setup-sh770x.o
|
|
obj-$(CONFIG_CPU_SUBTYPE_SH7708) += setup-sh770x.o
|
|
obj-$(CONFIG_CPU_SUBTYPE_SH7709) += setup-sh770x.o
|
|
obj-$(CONFIG_CPU_SUBTYPE_SH7710) += setup-sh7710.o
|
|
obj-$(CONFIG_CPU_SUBTYPE_SH7712) += setup-sh7710.o
|
|
obj-$(CONFIG_CPU_SUBTYPE_SH7720) += setup-sh7720.o
|
|
obj-$(CONFIG_CPU_SUBTYPE_SH7721) += setup-sh7720.o
|
|
|
|
# Primary on-chip clocks (common)
|
|
clock-$(CONFIG_CPU_SH3) := clock-sh3.o
|
|
clock-$(CONFIG_CPU_SUBTYPE_SH7705) := clock-sh7705.o
|
|
clock-$(CONFIG_CPU_SUBTYPE_SH7706) := clock-sh7706.o
|
|
clock-$(CONFIG_CPU_SUBTYPE_SH7709) := clock-sh7709.o
|
|
clock-$(CONFIG_CPU_SUBTYPE_SH7710) := clock-sh7710.o
|
|
clock-$(CONFIG_CPU_SUBTYPE_SH7720) := clock-sh7710.o
|
|
clock-$(CONFIG_CPU_SUBTYPE_SH7712) := clock-sh7712.o
|
|
|
|
# Pinmux setup
|
|
pinmux-$(CONFIG_CPU_SUBTYPE_SH7720) := pinmux-sh7720.o
|
|
|
|
obj-y += $(clock-y)
|
|
obj-$(CONFIG_GENERIC_GPIO) += $(pinmux-y)
|