blob: 9e4484ccbb036e91c0dc849421d24accc1d06729 [file] [log] [blame]
Wu Zhangjin85749d22009-07-02 23:26:45 +08001#
2# Makefile for loongson based machines.
3#
4
5obj-y += setup.o init.o cmdline.o env.o time.o reset.o irq.o \
Markos Chandras85103762013-07-04 09:38:29 +01006 bonito-irq.o mem.o machtype.o platform.o
Alexandre Courbot1b920172013-03-10 21:22:21 +09007obj-$(CONFIG_GPIOLIB) += gpio.o
Markos Chandras85103762013-07-04 09:38:29 +01008obj-$(CONFIG_PCI) += pci.o
Wu Zhangjin85749d22009-07-02 23:26:45 +08009
10#
Wu Zhangjinc3d8d852009-11-28 14:21:50 +080011# Serial port support
Wu Zhangjin85749d22009-07-02 23:26:45 +080012#
13obj-$(CONFIG_EARLY_PRINTK) += early_printk.o
Wu Zhangjine8be5282009-10-16 14:17:18 +080014obj-$(CONFIG_SERIAL_8250) += serial.o
Wu Zhangjinc3d8d852009-11-28 14:21:50 +080015obj-$(CONFIG_LOONGSON_UART_BASE) += uart_base.o
Arnaud Patard5df74352010-06-02 00:39:54 +020016obj-$(CONFIG_LOONGSON_MC146818) += rtc.o
Wu Zhangjin22c21002009-11-10 00:06:12 +080017
18#
19# Enable CS5536 Virtual Support Module(VSM) to virtulize the PCI configure
20# space
21#
22obj-$(CONFIG_CS5536) += cs5536/
Wu Zhangjinf181bf62009-11-11 14:57:05 +080023
24#
25# Suspend Support
26#
27
28obj-$(CONFIG_LOONGSON_SUSPEND) += pm.o