xref: /linux/arch/mips/loongson2ef/common/Makefile (revision 71e2f4dd5a65bd8dbca0b77661e75eea471168f8)
1*71e2f4ddSJiaxun Yang# SPDX-License-Identifier: GPL-2.0
2*71e2f4ddSJiaxun Yang#
3*71e2f4ddSJiaxun Yang# Makefile for loongson based machines.
4*71e2f4ddSJiaxun Yang#
5*71e2f4ddSJiaxun Yang
6*71e2f4ddSJiaxun Yangobj-y += setup.o init.o cmdline.o env.o time.o reset.o irq.o \
7*71e2f4ddSJiaxun Yang    bonito-irq.o mem.o machtype.o platform.o serial.o
8*71e2f4ddSJiaxun Yangobj-$(CONFIG_PCI) += pci.o
9*71e2f4ddSJiaxun Yang
10*71e2f4ddSJiaxun Yang#
11*71e2f4ddSJiaxun Yang# Serial port support
12*71e2f4ddSJiaxun Yang#
13*71e2f4ddSJiaxun Yangobj-$(CONFIG_EARLY_PRINTK) += early_printk.o
14*71e2f4ddSJiaxun Yangobj-$(CONFIG_LOONGSON_UART_BASE) += uart_base.o
15*71e2f4ddSJiaxun Yangobj-$(CONFIG_LOONGSON_MC146818) += rtc.o
16*71e2f4ddSJiaxun Yang
17*71e2f4ddSJiaxun Yang#
18*71e2f4ddSJiaxun Yang# Enable CS5536 Virtual Support Module(VSM) to virtulize the PCI configure
19*71e2f4ddSJiaxun Yang# space
20*71e2f4ddSJiaxun Yang#
21*71e2f4ddSJiaxun Yangobj-$(CONFIG_CS5536) += cs5536/
22*71e2f4ddSJiaxun Yang
23*71e2f4ddSJiaxun Yang#
24*71e2f4ddSJiaxun Yang# Suspend Support
25*71e2f4ddSJiaxun Yang#
26*71e2f4ddSJiaxun Yang
27*71e2f4ddSJiaxun Yangobj-$(CONFIG_SUSPEND) += pm.o
28