2019-10-20 22:43:14 +08:00
|
|
|
# SPDX-License-Identifier: GPL-2.0
|
|
|
|
#
|
|
|
|
# Makefile for loongson based machines.
|
|
|
|
#
|
|
|
|
|
2019-11-07 12:01:15 +08:00
|
|
|
obj-y += setup.o init.o env.o time.o reset.o irq.o \
|
2021-08-05 08:02:16 +08:00
|
|
|
bonito-irq.o mem.o machtype.o platform.o
|
2019-10-20 22:43:14 +08:00
|
|
|
obj-$(CONFIG_PCI) += pci.o
|
|
|
|
|
|
|
|
#
|
|
|
|
# Serial port support
|
|
|
|
#
|
2021-08-05 08:02:16 +08:00
|
|
|
obj-$(CONFIG_LOONGSON_UART_BASE) += serial.o
|
|
|
|
obj-$(CONFIG_EARLY_PRINTK) += serial.o
|
2019-10-20 22:43:14 +08:00
|
|
|
obj-$(CONFIG_LOONGSON_UART_BASE) += uart_base.o
|
|
|
|
obj-$(CONFIG_LOONGSON_MC146818) += rtc.o
|
|
|
|
|
|
|
|
#
|
|
|
|
# Enable CS5536 Virtual Support Module(VSM) to virtulize the PCI configure
|
|
|
|
# space
|
|
|
|
#
|
|
|
|
obj-$(CONFIG_CS5536) += cs5536/
|
|
|
|
|
|
|
|
#
|
|
|
|
# Suspend Support
|
|
|
|
#
|
|
|
|
|
|
|
|
obj-$(CONFIG_SUSPEND) += pm.o
|