TsiChung Liew | f6afe72 | 2007-06-18 13:50:13 -0500 | [diff] [blame] | 1 | # |
Detlev Zundel | f04e258 | 2009-04-23 13:14:20 +0200 | [diff] [blame] | 2 | # (C) Copyright 2006-2009 |
TsiChung Liew | f6afe72 | 2007-06-18 13:50:13 -0500 | [diff] [blame] | 3 | # Wolfgang Denk, DENX Software Engineering, wd@denx.de. |
| 4 | # |
Wolfgang Denk | d79de1d | 2013-07-08 09:37:19 +0200 | [diff] [blame] | 5 | # SPDX-License-Identifier: GPL-2.0+ |
TsiChung Liew | f6afe72 | 2007-06-18 13:50:13 -0500 | [diff] [blame] | 6 | # |
| 7 | |
Simon Glass | 247f596 | 2014-09-04 16:27:26 -0600 | [diff] [blame] | 8 | ifdef CONFIG_DM_SERIAL |
| 9 | obj-y += serial-uclass.o |
Simon Glass | f35484d | 2014-09-22 17:30:57 -0600 | [diff] [blame] | 10 | obj-$(CONFIG_PL01X_SERIAL) += serial_pl01x.o |
Simon Glass | c11be8f | 2015-02-07 11:51:47 -0700 | [diff] [blame] | 11 | obj-$(CONFIG_PPC) += serial_ppc.o |
Simon Glass | 247f596 | 2014-09-04 16:27:26 -0600 | [diff] [blame] | 12 | else |
Masahiro Yamada | 5594ce4 | 2013-10-17 17:34:57 +0900 | [diff] [blame] | 13 | obj-y += serial.o |
Simon Glass | f35484d | 2014-09-22 17:30:57 -0600 | [diff] [blame] | 14 | obj-$(CONFIG_PL010_SERIAL) += serial_pl01x.o |
| 15 | obj-$(CONFIG_PL011_SERIAL) += serial_pl01x.o |
Simon Glass | 79a9da3 | 2014-09-04 16:27:34 -0600 | [diff] [blame] | 16 | obj-$(CONFIG_SYS_NS16550_SERIAL) += serial_ns16550.o |
Simon Glass | 247f596 | 2014-09-04 16:27:26 -0600 | [diff] [blame] | 17 | endif |
TsiChung Liew | f6afe72 | 2007-06-18 13:50:13 -0500 | [diff] [blame] | 18 | |
Masahiro Yamada | 5594ce4 | 2013-10-17 17:34:57 +0900 | [diff] [blame] | 19 | obj-$(CONFIG_ALTERA_UART) += altera_uart.o |
| 20 | obj-$(CONFIG_ALTERA_JTAG_UART) += altera_jtag_uart.o |
| 21 | obj-$(CONFIG_ARM_DCC) += arm_dcc.o |
| 22 | obj-$(CONFIG_ATMEL_USART) += atmel_usart.o |
Simon Glass | 6664898 | 2014-10-30 20:25:50 -0600 | [diff] [blame] | 23 | obj-$(CONFIG_DW_SERIAL) += serial_dw.o |
Masahiro Yamada | 5594ce4 | 2013-10-17 17:34:57 +0900 | [diff] [blame] | 24 | obj-$(CONFIG_LPC32XX_HSUART) += lpc32xx_hsuart.o |
| 25 | obj-$(CONFIG_MCFUART) += mcfuart.o |
| 26 | obj-$(CONFIG_OPENCORES_YANU) += opencores_yanu.o |
| 27 | obj-$(CONFIG_SYS_NS16550) += ns16550.o |
| 28 | obj-$(CONFIG_S5P) += serial_s5p.o |
Masahiro Yamada | 5594ce4 | 2013-10-17 17:34:57 +0900 | [diff] [blame] | 29 | obj-$(CONFIG_IMX_SERIAL) += serial_imx.o |
Masahiro Yamada | 5594ce4 | 2013-10-17 17:34:57 +0900 | [diff] [blame] | 30 | obj-$(CONFIG_KS8695_SERIAL) += serial_ks8695.o |
| 31 | obj-$(CONFIG_MAX3100_SERIAL) += serial_max3100.o |
| 32 | obj-$(CONFIG_MXC_UART) += serial_mxc.o |
Masahiro Yamada | 5594ce4 | 2013-10-17 17:34:57 +0900 | [diff] [blame] | 33 | obj-$(CONFIG_PXA_SERIAL) += serial_pxa.o |
| 34 | obj-$(CONFIG_SA1100_SERIAL) += serial_sa1100.o |
| 35 | obj-$(CONFIG_S3C24X0_SERIAL) += serial_s3c24x0.o |
| 36 | obj-$(CONFIG_XILINX_UARTLITE) += serial_xuartlite.o |
| 37 | obj-$(CONFIG_SANDBOX_SERIAL) += sandbox.o |
| 38 | obj-$(CONFIG_SCIF_CONSOLE) += serial_sh.o |
| 39 | obj-$(CONFIG_ZYNQ_SERIAL) += serial_zynq.o |
| 40 | obj-$(CONFIG_BFIN_SERIAL) += serial_bfin.o |
| 41 | obj-$(CONFIG_FSL_LPUART) += serial_lpuart.o |
| 42 | obj-$(CONFIG_MXS_AUART) += mxs_auart.o |
Alexey Brodkin | c51eb11 | 2013-12-13 10:35:11 +0400 | [diff] [blame] | 43 | obj-$(CONFIG_ARC_SERIAL) += serial_arc.o |
Simon Glass | 76e68a8 | 2014-09-04 16:27:36 -0600 | [diff] [blame] | 44 | obj-$(CONFIG_TEGRA_SERIAL) += serial_tegra.o |
Masahiro Yamada | b289073 | 2014-10-03 19:21:05 +0900 | [diff] [blame] | 45 | obj-$(CONFIG_UNIPHIER_SERIAL) += serial_uniphier.o |
Simon Glass | db252e3 | 2014-10-22 21:37:12 -0600 | [diff] [blame] | 46 | obj-$(CONFIG_OMAP_SERIAL) += serial_omap.o |
Bin Meng | 7bb2c3c | 2014-12-17 15:50:47 +0800 | [diff] [blame] | 47 | obj-$(CONFIG_X86_SERIAL) += serial_x86.o |
Aneesh V | 55fc5b6 | 2011-07-13 05:11:06 +0000 | [diff] [blame] | 48 | |
| 49 | ifndef CONFIG_SPL_BUILD |
Masahiro Yamada | 5594ce4 | 2013-10-17 17:34:57 +0900 | [diff] [blame] | 50 | obj-$(CONFIG_USB_TTY) += usbtty.o |
Aneesh V | 55fc5b6 | 2011-07-13 05:11:06 +0000 | [diff] [blame] | 51 | endif |