blob: 869ea7b8fb46fe1d08abfaee46ab64782e5d0216 [file] [log] [blame]
TsiChung Liew8e585f02007-06-18 13:50:13 -05001#
Detlev Zundel294f10c2009-04-23 13:14:20 +02002# (C) Copyright 2006-2009
TsiChung Liew8e585f02007-06-18 13:50:13 -05003# Wolfgang Denk, DENX Software Engineering, wd@denx.de.
4#
Wolfgang Denk1a459662013-07-08 09:37:19 +02005# SPDX-License-Identifier: GPL-2.0+
TsiChung Liew8e585f02007-06-18 13:50:13 -05006#
7
Simon Glass57d92752014-09-04 16:27:26 -06008ifdef CONFIG_DM_SERIAL
9obj-y += serial-uclass.o
Simon Glassaed2fbe2014-09-22 17:30:57 -060010obj-$(CONFIG_PL01X_SERIAL) += serial_pl01x.o
Simon Glassfad486c2015-02-07 11:51:47 -070011obj-$(CONFIG_PPC) += serial_ppc.o
Simon Glass57d92752014-09-04 16:27:26 -060012else
Masahiro Yamada710f1d32013-10-17 17:34:57 +090013obj-y += serial.o
Simon Glassaed2fbe2014-09-22 17:30:57 -060014obj-$(CONFIG_PL010_SERIAL) += serial_pl01x.o
15obj-$(CONFIG_PL011_SERIAL) += serial_pl01x.o
Simon Glass12e431b2014-09-04 16:27:34 -060016obj-$(CONFIG_SYS_NS16550_SERIAL) += serial_ns16550.o
Simon Glass57d92752014-09-04 16:27:26 -060017endif
TsiChung Liew8e585f02007-06-18 13:50:13 -050018
Masahiro Yamada710f1d32013-10-17 17:34:57 +090019obj-$(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
Simon Glass1a81cf832014-10-30 20:25:50 -060023obj-$(CONFIG_DW_SERIAL) += serial_dw.o
Simon Glass275854b2015-08-04 12:33:40 -060024obj-$(CONFIG_EFI_APP) += serial_efi.o
Masahiro Yamada710f1d32013-10-17 17:34:57 +090025obj-$(CONFIG_LPC32XX_HSUART) += lpc32xx_hsuart.o
26obj-$(CONFIG_MCFUART) += mcfuart.o
27obj-$(CONFIG_OPENCORES_YANU) += opencores_yanu.o
28obj-$(CONFIG_SYS_NS16550) += ns16550.o
29obj-$(CONFIG_S5P) += serial_s5p.o
Masahiro Yamada710f1d32013-10-17 17:34:57 +090030obj-$(CONFIG_IMX_SERIAL) += serial_imx.o
Masahiro Yamada710f1d32013-10-17 17:34:57 +090031obj-$(CONFIG_MAX3100_SERIAL) += serial_max3100.o
32obj-$(CONFIG_MXC_UART) += serial_mxc.o
Masahiro Yamada710f1d32013-10-17 17:34:57 +090033obj-$(CONFIG_PXA_SERIAL) += serial_pxa.o
34obj-$(CONFIG_SA1100_SERIAL) += serial_sa1100.o
35obj-$(CONFIG_S3C24X0_SERIAL) += serial_s3c24x0.o
36obj-$(CONFIG_XILINX_UARTLITE) += serial_xuartlite.o
37obj-$(CONFIG_SANDBOX_SERIAL) += sandbox.o
38obj-$(CONFIG_SCIF_CONSOLE) += serial_sh.o
39obj-$(CONFIG_ZYNQ_SERIAL) += serial_zynq.o
40obj-$(CONFIG_BFIN_SERIAL) += serial_bfin.o
41obj-$(CONFIG_FSL_LPUART) += serial_lpuart.o
42obj-$(CONFIG_MXS_AUART) += mxs_auart.o
Simon Glass765a1b12015-08-30 16:55:19 -060043obj-$(CONFIG_ROCKCHIP_SERIAL) += serial_rockchip.o
Alexey Brodkin22a240c2013-12-13 10:35:11 +040044obj-$(CONFIG_ARC_SERIAL) += serial_arc.o
Simon Glass858530a2014-09-04 16:27:36 -060045obj-$(CONFIG_TEGRA_SERIAL) += serial_tegra.o
Masahiro Yamada7f368552014-10-03 19:21:05 +090046obj-$(CONFIG_UNIPHIER_SERIAL) += serial_uniphier.o
Simon Glass0bf24952014-10-22 21:37:12 -060047obj-$(CONFIG_OMAP_SERIAL) += serial_omap.o
Bin Meng41702ba2014-12-17 15:50:47 +080048obj-$(CONFIG_X86_SERIAL) += serial_x86.o
rev13@wp.plab3f0c72015-03-01 12:44:41 +010049obj-$(CONFIG_STM32_SERIAL) += serial_stm32.o
Aneesh V05bad4a2011-07-13 05:11:06 +000050
51ifndef CONFIG_SPL_BUILD
Masahiro Yamada710f1d32013-10-17 17:34:57 +090052obj-$(CONFIG_USB_TTY) += usbtty.o
Aneesh V05bad4a2011-07-13 05:11:06 +000053endif