blob: c63999ac417d7c7dfe95ea88a7e4ae775a700fcc [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 Glass57d92752014-09-04 16:27:26 -060011else
Masahiro Yamada710f1d32013-10-17 17:34:57 +090012obj-y += serial.o
Simon Glassaed2fbe2014-09-22 17:30:57 -060013obj-$(CONFIG_PL010_SERIAL) += serial_pl01x.o
14obj-$(CONFIG_PL011_SERIAL) += serial_pl01x.o
Simon Glass12e431b2014-09-04 16:27:34 -060015obj-$(CONFIG_SYS_NS16550_SERIAL) += serial_ns16550.o
Simon Glass57d92752014-09-04 16:27:26 -060016endif
TsiChung Liew8e585f02007-06-18 13:50:13 -050017
Masahiro Yamada710f1d32013-10-17 17:34:57 +090018obj-$(CONFIG_ALTERA_UART) += altera_uart.o
19obj-$(CONFIG_ALTERA_JTAG_UART) += altera_jtag_uart.o
20obj-$(CONFIG_ARM_DCC) += arm_dcc.o
21obj-$(CONFIG_ATMEL_USART) += atmel_usart.o
Simon Glass275854b2015-08-04 12:33:40 -060022obj-$(CONFIG_EFI_APP) += serial_efi.o
Masahiro Yamada710f1d32013-10-17 17:34:57 +090023obj-$(CONFIG_LPC32XX_HSUART) += lpc32xx_hsuart.o
24obj-$(CONFIG_MCFUART) += mcfuart.o
Masahiro Yamada710f1d32013-10-17 17:34:57 +090025obj-$(CONFIG_SYS_NS16550) += ns16550.o
26obj-$(CONFIG_S5P) += serial_s5p.o
Masahiro Yamada710f1d32013-10-17 17:34:57 +090027obj-$(CONFIG_MXC_UART) += serial_mxc.o
Masahiro Yamada710f1d32013-10-17 17:34:57 +090028obj-$(CONFIG_PXA_SERIAL) += serial_pxa.o
Masahiro Yamada710f1d32013-10-17 17:34:57 +090029obj-$(CONFIG_S3C24X0_SERIAL) += serial_s3c24x0.o
30obj-$(CONFIG_XILINX_UARTLITE) += serial_xuartlite.o
31obj-$(CONFIG_SANDBOX_SERIAL) += sandbox.o
32obj-$(CONFIG_SCIF_CONSOLE) += serial_sh.o
33obj-$(CONFIG_ZYNQ_SERIAL) += serial_zynq.o
34obj-$(CONFIG_BFIN_SERIAL) += serial_bfin.o
35obj-$(CONFIG_FSL_LPUART) += serial_lpuart.o
Alexey Brodkin22a240c2013-12-13 10:35:11 +040036obj-$(CONFIG_ARC_SERIAL) += serial_arc.o
Masahiro Yamada7f368552014-10-03 19:21:05 +090037obj-$(CONFIG_UNIPHIER_SERIAL) += serial_uniphier.o
rev13@wp.plab3f0c72015-03-01 12:44:41 +010038obj-$(CONFIG_STM32_SERIAL) += serial_stm32.o
Paul Thacker9e160ee2016-01-28 15:30:14 +053039obj-$(CONFIG_PIC32_SERIAL) += serial_pic32.o
Aneesh V05bad4a2011-07-13 05:11:06 +000040
41ifndef CONFIG_SPL_BUILD
Masahiro Yamada710f1d32013-10-17 17:34:57 +090042obj-$(CONFIG_USB_TTY) += usbtty.o
Aneesh V05bad4a2011-07-13 05:11:06 +000043endif