xref: /linux/arch/mips/loongson2ef/common/Makefile (revision 75cac781dca43e735fbb4166d994263a14f0823e)
171e2f4ddSJiaxun Yang# SPDX-License-Identifier: GPL-2.0
271e2f4ddSJiaxun Yang#
371e2f4ddSJiaxun Yang# Makefile for loongson based machines.
471e2f4ddSJiaxun Yang#
571e2f4ddSJiaxun Yang
6*75cac781SJiaxun Yangobj-y += setup.o init.o env.o time.o reset.o irq.o \
771e2f4ddSJiaxun Yang    bonito-irq.o mem.o machtype.o platform.o serial.o
871e2f4ddSJiaxun Yangobj-$(CONFIG_PCI) += pci.o
971e2f4ddSJiaxun Yang
1071e2f4ddSJiaxun Yang#
1171e2f4ddSJiaxun Yang# Serial port support
1271e2f4ddSJiaxun Yang#
1371e2f4ddSJiaxun Yangobj-$(CONFIG_EARLY_PRINTK) += early_printk.o
1471e2f4ddSJiaxun Yangobj-$(CONFIG_LOONGSON_UART_BASE) += uart_base.o
1571e2f4ddSJiaxun Yangobj-$(CONFIG_LOONGSON_MC146818) += rtc.o
1671e2f4ddSJiaxun Yang
1771e2f4ddSJiaxun Yang#
1871e2f4ddSJiaxun Yang# Enable CS5536 Virtual Support Module(VSM) to virtulize the PCI configure
1971e2f4ddSJiaxun Yang# space
2071e2f4ddSJiaxun Yang#
2171e2f4ddSJiaxun Yangobj-$(CONFIG_CS5536) += cs5536/
2271e2f4ddSJiaxun Yang
2371e2f4ddSJiaxun Yang#
2471e2f4ddSJiaxun Yang# Suspend Support
2571e2f4ddSJiaxun Yang#
2671e2f4ddSJiaxun Yang
2771e2f4ddSJiaxun Yangobj-$(CONFIG_SUSPEND) += pm.o
28