TsiChung Liew | 8e585f0 | 2007-06-18 13:50:13 -0500 | [diff] [blame] | 1 | # |
Detlev Zundel | 294f10c | 2009-04-23 13:14:20 +0200 | [diff] [blame] | 2 | # (C) Copyright 2006-2009 |
TsiChung Liew | 8e585f0 | 2007-06-18 13:50:13 -0500 | [diff] [blame] | 3 | # Wolfgang Denk, DENX Software Engineering, wd@denx.de. |
| 4 | # |
Wolfgang Denk | 1a45966 | 2013-07-08 09:37:19 +0200 | [diff] [blame] | 5 | # SPDX-License-Identifier: GPL-2.0+ |
TsiChung Liew | 8e585f0 | 2007-06-18 13:50:13 -0500 | [diff] [blame] | 6 | # |
| 7 | |
Simon Glass | 57d9275 | 2014-09-04 16:27:26 -0600 | [diff] [blame] | 8 | ifdef CONFIG_DM_SERIAL |
| 9 | obj-y += serial-uclass.o |
Simon Glass | aed2fbe | 2014-09-22 17:30:57 -0600 | [diff] [blame] | 10 | obj-$(CONFIG_PL01X_SERIAL) += serial_pl01x.o |
Simon Glass | 57d9275 | 2014-09-04 16:27:26 -0600 | [diff] [blame] | 11 | else |
Masahiro Yamada | 710f1d3 | 2013-10-17 17:34:57 +0900 | [diff] [blame] | 12 | obj-y += serial.o |
Simon Glass | aed2fbe | 2014-09-22 17:30:57 -0600 | [diff] [blame] | 13 | obj-$(CONFIG_PL010_SERIAL) += serial_pl01x.o |
| 14 | obj-$(CONFIG_PL011_SERIAL) += serial_pl01x.o |
Simon Glass | 12e431b | 2014-09-04 16:27:34 -0600 | [diff] [blame] | 15 | obj-$(CONFIG_SYS_NS16550_SERIAL) += serial_ns16550.o |
Simon Glass | 57d9275 | 2014-09-04 16:27:26 -0600 | [diff] [blame] | 16 | endif |
TsiChung Liew | 8e585f0 | 2007-06-18 13:50:13 -0500 | [diff] [blame] | 17 | |
Masahiro Yamada | 710f1d3 | 2013-10-17 17:34:57 +0900 | [diff] [blame] | 18 | obj-$(CONFIG_ALTERA_UART) += altera_uart.o |
| 19 | obj-$(CONFIG_ALTERA_JTAG_UART) += altera_jtag_uart.o |
Wills Wang | 60b4976 | 2016-03-16 16:59:57 +0800 | [diff] [blame] | 20 | obj-$(CONFIG_AR933X_UART) += serial_ar933x.o |
Masahiro Yamada | 710f1d3 | 2013-10-17 17:34:57 +0900 | [diff] [blame] | 21 | obj-$(CONFIG_ARM_DCC) += arm_dcc.o |
| 22 | obj-$(CONFIG_ATMEL_USART) += atmel_usart.o |
Simon Glass | 275854b | 2015-08-04 12:33:40 -0600 | [diff] [blame] | 23 | obj-$(CONFIG_EFI_APP) += serial_efi.o |
Masahiro Yamada | 710f1d3 | 2013-10-17 17:34:57 +0900 | [diff] [blame] | 24 | obj-$(CONFIG_LPC32XX_HSUART) += lpc32xx_hsuart.o |
| 25 | obj-$(CONFIG_MCFUART) += mcfuart.o |
Masahiro Yamada | 710f1d3 | 2013-10-17 17:34:57 +0900 | [diff] [blame] | 26 | obj-$(CONFIG_SYS_NS16550) += ns16550.o |
| 27 | obj-$(CONFIG_S5P) += serial_s5p.o |
Masahiro Yamada | 710f1d3 | 2013-10-17 17:34:57 +0900 | [diff] [blame] | 28 | obj-$(CONFIG_MXC_UART) += serial_mxc.o |
Masahiro Yamada | 710f1d3 | 2013-10-17 17:34:57 +0900 | [diff] [blame] | 29 | obj-$(CONFIG_PXA_SERIAL) += serial_pxa.o |
Beniamino Galvani | bfcef28 | 2016-05-08 08:30:16 +0200 | [diff] [blame] | 30 | obj-$(CONFIG_MESON_SERIAL) += serial_meson.o |
Simon Glass | 2fc24d5 | 2016-07-04 11:58:24 -0600 | [diff] [blame] | 31 | ifdef CONFIG_SPL_BUILD |
| 32 | obj-$(CONFIG_ROCKCHIP_SERIAL) += serial_rockchip.o |
| 33 | endif |
Masahiro Yamada | 710f1d3 | 2013-10-17 17:34:57 +0900 | [diff] [blame] | 34 | obj-$(CONFIG_XILINX_UARTLITE) += serial_xuartlite.o |
| 35 | obj-$(CONFIG_SANDBOX_SERIAL) += sandbox.o |
| 36 | obj-$(CONFIG_SCIF_CONSOLE) += serial_sh.o |
| 37 | obj-$(CONFIG_ZYNQ_SERIAL) += serial_zynq.o |
| 38 | obj-$(CONFIG_BFIN_SERIAL) += serial_bfin.o |
| 39 | obj-$(CONFIG_FSL_LPUART) += serial_lpuart.o |
Stoica Cosmin-Stefan | 1f68dbc | 2016-06-05 03:42:59 +0300 | [diff] [blame] | 40 | obj-$(CONFIG_FSL_LINFLEXUART) += serial_linflexuart.o |
Alexey Brodkin | 22a240c | 2013-12-13 10:35:11 +0400 | [diff] [blame] | 41 | obj-$(CONFIG_ARC_SERIAL) += serial_arc.o |
Masahiro Yamada | 7f36855 | 2014-10-03 19:21:05 +0900 | [diff] [blame] | 42 | obj-$(CONFIG_UNIPHIER_SERIAL) += serial_uniphier.o |
rev13@wp.pl | ab3f0c7 | 2015-03-01 12:44:41 +0100 | [diff] [blame] | 43 | obj-$(CONFIG_STM32_SERIAL) += serial_stm32.o |
Paul Thacker | 9e160ee | 2016-01-28 15:30:14 +0530 | [diff] [blame] | 44 | obj-$(CONFIG_PIC32_SERIAL) += serial_pic32.o |
Vikas Manocha | 6a12ceb | 2016-02-11 15:47:19 -0800 | [diff] [blame] | 45 | obj-$(CONFIG_STM32X7_SERIAL) += serial_stm32x7.o |
Stephen Warren | 3917c26 | 2016-03-18 21:41:38 -0600 | [diff] [blame] | 46 | obj-$(CONFIG_BCM283X_MU_SERIAL) += serial_bcm283x_mu.o |
Mateusz Kulikowski | 142a20c | 2016-03-31 23:12:14 +0200 | [diff] [blame] | 47 | obj-$(CONFIG_MSM_SERIAL) += serial_msm.o |
Stefan Roese | 6985d49 | 2016-05-17 16:36:00 +0200 | [diff] [blame] | 48 | obj-$(CONFIG_MVEBU_A3700_UART) += serial_mvebu_a3700.o |
Aneesh V | 05bad4a | 2011-07-13 05:11:06 +0000 | [diff] [blame] | 49 | |
| 50 | ifndef CONFIG_SPL_BUILD |
Masahiro Yamada | 710f1d3 | 2013-10-17 17:34:57 +0900 | [diff] [blame] | 51 | obj-$(CONFIG_USB_TTY) += usbtty.o |
Aneesh V | 05bad4a | 2011-07-13 05:11:06 +0000 | [diff] [blame] | 52 | endif |