1 # SPDX-License-Identifier: GPL-2.0
3 # Makefile for loongson based machines.
6 obj-y
+= setup.o init.o cmdline.o env.o time.o reset.o irq.o \
7 bonito-irq.o mem.o machtype.o platform.o serial.o
8 obj-
$(CONFIG_PCI
) += pci.o
13 obj-
$(CONFIG_EARLY_PRINTK
) += early_printk.o
14 obj-
$(CONFIG_LOONGSON_UART_BASE
) += uart_base.o
15 obj-
$(CONFIG_LOONGSON_MC146818
) += rtc.o
18 # Enable CS5536 Virtual Support Module(VSM) to virtulize the PCI configure
21 obj-
$(CONFIG_CS5536
) += cs5536
/
27 obj-
$(CONFIG_SUSPEND
) += pm.o
30 # Big Memory (SWIOTLB) Support
32 obj-
$(CONFIG_SWIOTLB
) += dma-swiotlb.o