2009-07-02 09:26:45 -06:00
|
|
|
#
|
|
|
|
# Makefile for loongson based machines.
|
|
|
|
#
|
|
|
|
|
|
|
|
obj-y += setup.o init.o cmdline.o env.o time.o reset.o irq.o \
|
2009-11-27 23:21:50 -07:00
|
|
|
pci.o bonito-irq.o mem.o machtype.o platform.o
|
2010-04-29 03:58:54 -06:00
|
|
|
obj-$(CONFIG_GENERIC_GPIO) += gpio.o
|
2009-07-02 09:26:45 -06:00
|
|
|
|
|
|
|
#
|
2009-11-27 23:21:50 -07:00
|
|
|
# Serial port support
|
2009-07-02 09:26:45 -06:00
|
|
|
#
|
|
|
|
obj-$(CONFIG_EARLY_PRINTK) += early_printk.o
|
2009-10-16 00:17:18 -06:00
|
|
|
obj-$(CONFIG_SERIAL_8250) += serial.o
|
2009-11-27 23:21:50 -07:00
|
|
|
obj-$(CONFIG_LOONGSON_UART_BASE) += uart_base.o
|
2010-06-01 16:39:54 -06:00
|
|
|
obj-$(CONFIG_LOONGSON_MC146818) += rtc.o
|
2009-11-09 09:06:12 -07:00
|
|
|
|
|
|
|
#
|
|
|
|
# Enable CS5536 Virtual Support Module(VSM) to virtulize the PCI configure
|
|
|
|
# space
|
|
|
|
#
|
|
|
|
obj-$(CONFIG_CS5536) += cs5536/
|
MIPS: Loongson 2F: Add suspend support framework
This patch add basic suspend support for loongson2f family machines,
loongson2f have a specific feature: when we set it's frequency to ZERO,
it will go into a wait mode, and then can be waked up by the external
interrupt. so, if we setup suitable interrupts before putting it into
wait mode, we will be able wake it up whenever we want via sending the
relative interrupts to it.
These interrupts are board-specific, Yeeloong2F use the keyboard
interrupt and SCI interrupt, but LingLoong and Fuloong2F use the
interrupts connected to the processors directly. and BTW: some old
LingLoong and FuLoong2F have no such interrupts connected, so, there is
no way to wake them up from suspend mode. and therefore, please do not
enable the kernel support for them.
The board-specific support will be added in the coming patches.
Signed-off-by: Wu Zhangjin <wuzhangjin@gmail.com>
Cc: linux-mips@linux-mips.org
Cc: yanh@lemote.com
Cc: huhb@lemote.com
Cc: Wu Zhangjin <wuzhangjin@gmail.com>
Cc: Len Brown <len.brown@intel.com>
Cc: Rafael J. Wysocki <rjw@sisk.pl>
Cc: linux-pm@lists.linux-foundation.org
Patchwork: http://patchwork.linux-mips.org/patch/629/
Acked-by: Pavel Machek <pavel@ucw.cz>
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
2009-11-10 23:57:05 -07:00
|
|
|
|
|
|
|
#
|
|
|
|
# Suspend Support
|
|
|
|
#
|
|
|
|
|
|
|
|
obj-$(CONFIG_LOONGSON_SUSPEND) += pm.o
|