xref: /openbmc/u-boot/drivers/serial/Makefile (revision 867a6ac8)
1#
2# (C) Copyright 2006-2009
3# Wolfgang Denk, DENX Software Engineering, wd@denx.de.
4#
5# SPDX-License-Identifier:	GPL-2.0+
6#
7
8ifdef CONFIG_DM_SERIAL
9obj-y += serial-uclass.o
10obj-$(CONFIG_PL01X_SERIAL) += serial_pl01x.o
11obj-$(CONFIG_PPC) += serial_ppc.o
12else
13obj-y += serial.o
14obj-$(CONFIG_PL010_SERIAL) += serial_pl01x.o
15obj-$(CONFIG_PL011_SERIAL) += serial_pl01x.o
16obj-$(CONFIG_SYS_NS16550_SERIAL) += serial_ns16550.o
17endif
18
19obj-$(CONFIG_ALTERA_UART) += altera_uart.o
20obj-$(CONFIG_ALTERA_JTAG_UART) += altera_jtag_uart.o
21obj-$(CONFIG_ARM_DCC) += arm_dcc.o
22obj-$(CONFIG_ATMEL_USART) += atmel_usart.o
23obj-$(CONFIG_DW_SERIAL) += serial_dw.o
24obj-$(CONFIG_LPC32XX_HSUART) += lpc32xx_hsuart.o
25obj-$(CONFIG_MCFUART) += mcfuart.o
26obj-$(CONFIG_OPENCORES_YANU) += opencores_yanu.o
27obj-$(CONFIG_SYS_NS16550) += ns16550.o
28obj-$(CONFIG_S5P) += serial_s5p.o
29obj-$(CONFIG_IMX_SERIAL) += serial_imx.o
30obj-$(CONFIG_MAX3100_SERIAL) += serial_max3100.o
31obj-$(CONFIG_MXC_UART) += serial_mxc.o
32obj-$(CONFIG_PXA_SERIAL) += serial_pxa.o
33obj-$(CONFIG_SA1100_SERIAL) += serial_sa1100.o
34obj-$(CONFIG_S3C24X0_SERIAL) += serial_s3c24x0.o
35obj-$(CONFIG_XILINX_UARTLITE) += serial_xuartlite.o
36obj-$(CONFIG_SANDBOX_SERIAL) += sandbox.o
37obj-$(CONFIG_SCIF_CONSOLE) += serial_sh.o
38obj-$(CONFIG_ZYNQ_SERIAL) += serial_zynq.o
39obj-$(CONFIG_BFIN_SERIAL) += serial_bfin.o
40obj-$(CONFIG_FSL_LPUART) += serial_lpuart.o
41obj-$(CONFIG_MXS_AUART) += mxs_auart.o
42obj-$(CONFIG_ARC_SERIAL) += serial_arc.o
43obj-$(CONFIG_TEGRA_SERIAL) += serial_tegra.o
44obj-$(CONFIG_UNIPHIER_SERIAL) += serial_uniphier.o
45obj-$(CONFIG_OMAP_SERIAL) += serial_omap.o
46obj-$(CONFIG_X86_SERIAL) += serial_x86.o
47obj-$(CONFIG_STM32_SERIAL) += serial_stm32.o
48
49ifndef CONFIG_SPL_BUILD
50obj-$(CONFIG_USB_TTY) += usbtty.o
51endif
52