blob: 6986d659ab05e0f7fa29c1bd29733205cfad4354 [file] [log] [blame]
TsiChung Liewf6afe722007-06-18 13:50:13 -05001#
Detlev Zundelf04e2582009-04-23 13:14:20 +02002# (C) Copyright 2006-2009
TsiChung Liewf6afe722007-06-18 13:50:13 -05003# Wolfgang Denk, DENX Software Engineering, wd@denx.de.
4#
Wolfgang Denkd79de1d2013-07-08 09:37:19 +02005# SPDX-License-Identifier: GPL-2.0+
TsiChung Liewf6afe722007-06-18 13:50:13 -05006#
7
Simon Glass247f5962014-09-04 16:27:26 -06008ifdef CONFIG_DM_SERIAL
9obj-y += serial-uclass.o
Simon Glassf35484d2014-09-22 17:30:57 -060010obj-$(CONFIG_PL01X_SERIAL) += serial_pl01x.o
Simon Glass247f5962014-09-04 16:27:26 -060011else
Masahiro Yamada5594ce42013-10-17 17:34:57 +090012obj-y += serial.o
Simon Glassf35484d2014-09-22 17:30:57 -060013obj-$(CONFIG_PL010_SERIAL) += serial_pl01x.o
14obj-$(CONFIG_PL011_SERIAL) += serial_pl01x.o
Simon Glass79a9da32014-09-04 16:27:34 -060015obj-$(CONFIG_SYS_NS16550_SERIAL) += serial_ns16550.o
Simon Glass247f5962014-09-04 16:27:26 -060016endif
TsiChung Liewf6afe722007-06-18 13:50:13 -050017
Masahiro Yamada5594ce42013-10-17 17:34:57 +090018obj-$(CONFIG_ALTERA_UART) += altera_uart.o
19obj-$(CONFIG_ALTERA_JTAG_UART) += altera_jtag_uart.o
Wills Wangcb48c6d2016-03-16 16:59:57 +080020obj-$(CONFIG_AR933X_UART) += serial_ar933x.o
Masahiro Yamada5594ce42013-10-17 17:34:57 +090021obj-$(CONFIG_ARM_DCC) += arm_dcc.o
22obj-$(CONFIG_ATMEL_USART) += atmel_usart.o
Simon Glass5a991bd2015-08-04 12:33:40 -060023obj-$(CONFIG_EFI_APP) += serial_efi.o
Masahiro Yamada5594ce42013-10-17 17:34:57 +090024obj-$(CONFIG_LPC32XX_HSUART) += lpc32xx_hsuart.o
25obj-$(CONFIG_MCFUART) += mcfuart.o
Masahiro Yamada5594ce42013-10-17 17:34:57 +090026obj-$(CONFIG_SYS_NS16550) += ns16550.o
27obj-$(CONFIG_S5P) += serial_s5p.o
Masahiro Yamada5594ce42013-10-17 17:34:57 +090028obj-$(CONFIG_MXC_UART) += serial_mxc.o
Masahiro Yamada5594ce42013-10-17 17:34:57 +090029obj-$(CONFIG_PXA_SERIAL) += serial_pxa.o
Beniamino Galvanid1037e42016-05-08 08:30:16 +020030obj-$(CONFIG_MESON_SERIAL) += serial_meson.o
Simon Glassb3068ad2016-07-04 11:58:24 -060031ifdef CONFIG_SPL_BUILD
32obj-$(CONFIG_ROCKCHIP_SERIAL) += serial_rockchip.o
33endif
Masahiro Yamada5594ce42013-10-17 17:34:57 +090034obj-$(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
Stoica Cosmin-Stefan0edfb4e2016-06-05 03:42:59 +030041obj-$(CONFIG_FSL_LINFLEXUART) += serial_linflexuart.o
Alexey Brodkinc51eb112013-12-13 10:35:11 +040042obj-$(CONFIG_ARC_SERIAL) += serial_arc.o
Masahiro Yamadab2890732014-10-03 19:21:05 +090043obj-$(CONFIG_UNIPHIER_SERIAL) += serial_uniphier.o
rev13@wp.plaf9873c2015-03-01 12:44:41 +010044obj-$(CONFIG_STM32_SERIAL) += serial_stm32.o
Paul Thacker1dc42832016-01-28 15:30:14 +053045obj-$(CONFIG_PIC32_SERIAL) += serial_pic32.o
Vikas Manocha5dba05e2016-02-11 15:47:19 -080046obj-$(CONFIG_STM32X7_SERIAL) += serial_stm32x7.o
Stephen Warrenf84f9bf2016-03-18 21:41:38 -060047obj-$(CONFIG_BCM283X_MU_SERIAL) += serial_bcm283x_mu.o
Mateusz Kulikowski8aac6972016-03-31 23:12:14 +020048obj-$(CONFIG_MSM_SERIAL) += serial_msm.o
Aneesh V55fc5b62011-07-13 05:11:06 +000049
50ifndef CONFIG_SPL_BUILD
Masahiro Yamada5594ce42013-10-17 17:34:57 +090051obj-$(CONFIG_USB_TTY) += usbtty.o
Aneesh V55fc5b62011-07-13 05:11:06 +000052endif