2024-09-09 08:52:07 +00:00
|
|
|
#
|
|
|
|
# Makefile for loongson based machines.
|
|
|
|
#
|
|
|
|
|
|
|
|
obj-y += setup.o init.o cmdline.o env.o time.o reset.o irq.o \
|
2024-09-09 08:57:42 +00:00
|
|
|
bonito-irq.o mem.o machtype.o platform.o
|
|
|
|
obj-$(CONFIG_GPIOLIB) += gpio.o
|
|
|
|
obj-$(CONFIG_PCI) += pci.o
|
2024-09-09 08:52:07 +00:00
|
|
|
|
|
|
|
#
|
|
|
|
# Serial port support
|
|
|
|
#
|
|
|
|
obj-$(CONFIG_EARLY_PRINTK) += early_printk.o
|
2024-09-09 08:57:42 +00:00
|
|
|
loongson-serial-$(CONFIG_SERIAL_8250) := serial.o
|
|
|
|
obj-y += $(loongson-serial-m) $(loongson-serial-y)
|
2024-09-09 08:52:07 +00: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_LOONGSON_SUSPEND) += pm.o
|
2024-09-09 08:57:42 +00:00
|
|
|
|
|
|
|
#
|
|
|
|
# Big Memory (SWIOTLB) Support
|
|
|
|
#
|
|
|
|
obj-$(CONFIG_SWIOTLB) += dma-swiotlb.o
|