mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-23 05:36:35 +07:00
c3d8d85019
This patchs uses a loongson_uart_base variable instead of the uart_base[] array and adds a new kernel option to avoid to compile uart_base.c all the time, which will save a little bit of memory for us. Signed-off-by: Wu Zhangjin <wuzhangjin@gmail.com> Cc: linux-mips@linux-mips.org http://patchwork.linux-mips.org/patch/727/ Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
26 lines
500 B
Makefile
26 lines
500 B
Makefile
#
|
|
# Makefile for loongson based machines.
|
|
#
|
|
|
|
obj-y += setup.o init.o cmdline.o env.o time.o reset.o irq.o \
|
|
pci.o bonito-irq.o mem.o machtype.o platform.o
|
|
|
|
#
|
|
# Serial port support
|
|
#
|
|
obj-$(CONFIG_EARLY_PRINTK) += early_printk.o
|
|
obj-$(CONFIG_SERIAL_8250) += serial.o
|
|
obj-$(CONFIG_LOONGSON_UART_BASE) += uart_base.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
|