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 11else 12obj-y += serial.o 13obj-$(CONFIG_PL010_SERIAL) += serial_pl01x.o 14obj-$(CONFIG_PL011_SERIAL) += serial_pl01x.o 15obj-$(CONFIG_SYS_NS16550_SERIAL) += serial_ns16550.o 16endif 17 18obj-$(CONFIG_ALTERA_UART) += altera_uart.o 19obj-$(CONFIG_ALTERA_JTAG_UART) += altera_jtag_uart.o 20obj-$(CONFIG_AR933X_UART) += serial_ar933x.o 21obj-$(CONFIG_ARM_DCC) += arm_dcc.o 22obj-$(CONFIG_ATMEL_USART) += atmel_usart.o 23obj-$(CONFIG_EFI_APP) += serial_efi.o 24obj-$(CONFIG_LPC32XX_HSUART) += lpc32xx_hsuart.o 25obj-$(CONFIG_MCFUART) += mcfuart.o 26obj-$(CONFIG_SYS_NS16550) += ns16550.o 27obj-$(CONFIG_S5P) += serial_s5p.o 28obj-$(CONFIG_MXC_UART) += serial_mxc.o 29obj-$(CONFIG_PXA_SERIAL) += serial_pxa.o 30obj-$(CONFIG_MESON_SERIAL) += serial_meson.o 31ifdef CONFIG_SPL_BUILD 32obj-$(CONFIG_ROCKCHIP_SERIAL) += serial_rockchip.o 33endif 34obj-$(CONFIG_XILINX_UARTLITE) += serial_xuartlite.o 35obj-$(CONFIG_SANDBOX_SERIAL) += sandbox.o 36obj-$(CONFIG_SCIF_CONSOLE) += serial_sh.o 37obj-$(CONFIG_ZYNQ_SERIAL) += serial_zynq.o 38obj-$(CONFIG_BFIN_SERIAL) += serial_bfin.o 39obj-$(CONFIG_FSL_LPUART) += serial_lpuart.o 40obj-$(CONFIG_FSL_LINFLEXUART) += serial_linflexuart.o 41obj-$(CONFIG_ARC_SERIAL) += serial_arc.o 42obj-$(CONFIG_UNIPHIER_SERIAL) += serial_uniphier.o 43obj-$(CONFIG_STM32_SERIAL) += serial_stm32.o 44obj-$(CONFIG_PIC32_SERIAL) += serial_pic32.o 45obj-$(CONFIG_STM32X7_SERIAL) += serial_stm32x7.o 46obj-$(CONFIG_BCM283X_MU_SERIAL) += serial_bcm283x_mu.o 47obj-$(CONFIG_MSM_SERIAL) += serial_msm.o 48obj-$(CONFIG_MVEBU_A3700_UART) += serial_mvebu_a3700.o 49 50ifndef CONFIG_SPL_BUILD 51obj-$(CONFIG_USB_TTY) += usbtty.o 52endif 53