blob: cac9a8b31212f4a4fe34cdd732f6ea74a140bb39 [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
Simon Glass891f7ae2017-04-02 09:50:32 -06009obj-$(CONFIG_$(SPL_TPL_)DM_SERIAL) += 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
Wills Wang60b49762016-03-16 16:59:57 +080020obj-$(CONFIG_AR933X_UART) += serial_ar933x.o
Masahiro Yamada710f1d32013-10-17 17:34:57 +090021obj-$(CONFIG_ARM_DCC) += arm_dcc.o
22obj-$(CONFIG_ATMEL_USART) += atmel_usart.o
Álvaro Fernández Rojas30581042017-04-25 00:39:16 +020023obj-$(CONFIG_BCM6345_SERIAL) += serial_bcm6345.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
Masahiro Yamada710f1d32013-10-17 17:34:57 +090027obj-$(CONFIG_SYS_NS16550) += ns16550.o
28obj-$(CONFIG_S5P) += serial_s5p.o
Masahiro Yamada710f1d32013-10-17 17:34:57 +090029obj-$(CONFIG_MXC_UART) += serial_mxc.o
Masahiro Yamada710f1d32013-10-17 17:34:57 +090030obj-$(CONFIG_PXA_SERIAL) += serial_pxa.o
Beniamino Galvanibfcef282016-05-08 08:30:16 +020031obj-$(CONFIG_MESON_SERIAL) += serial_meson.o
Andy Shevchenkoc5f8dd42017-02-28 14:04:10 +020032obj-$(CONFIG_INTEL_MID_SERIAL) += serial_intel_mid.o
Simon Glass2fc24d52016-07-04 11:58:24 -060033ifdef CONFIG_SPL_BUILD
34obj-$(CONFIG_ROCKCHIP_SERIAL) += serial_rockchip.o
35endif
Masahiro Yamada710f1d32013-10-17 17:34:57 +090036obj-$(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
Masahiro Yamada710f1d32013-10-17 17:34:57 +090040obj-$(CONFIG_FSL_LPUART) += serial_lpuart.o
Stoica Cosmin-Stefan1f68dbc2016-06-05 03:42:59 +030041obj-$(CONFIG_FSL_LINFLEXUART) += serial_linflexuart.o
Alexey Brodkin22a240c2013-12-13 10:35:11 +040042obj-$(CONFIG_ARC_SERIAL) += serial_arc.o
Masahiro Yamada7f368552014-10-03 19:21:05 +090043obj-$(CONFIG_UNIPHIER_SERIAL) += serial_uniphier.o
rev13@wp.plab3f0c72015-03-01 12:44:41 +010044obj-$(CONFIG_STM32_SERIAL) += serial_stm32.o
Patrice Chotard214a17e2017-02-21 13:37:07 +010045obj-$(CONFIG_STI_ASC_SERIAL) += serial_sti_asc.o
Paul Thacker9e160ee2016-01-28 15:30:14 +053046obj-$(CONFIG_PIC32_SERIAL) += serial_pic32.o
Patrice Chotardae74de02018-01-12 09:23:49 +010047obj-$(CONFIG_STM32_SERIAL) += serial_stm32.o
Stephen Warren3917c262016-03-18 21:41:38 -060048obj-$(CONFIG_BCM283X_MU_SERIAL) += serial_bcm283x_mu.o
Alexander Graf60019852018-01-25 12:05:55 +010049obj-$(CONFIG_BCM283X_PL011_SERIAL) += serial_bcm283x_pl011.o
Mateusz Kulikowski142a20c2016-03-31 23:12:14 +020050obj-$(CONFIG_MSM_SERIAL) += serial_msm.o
Stefan Roese6985d492016-05-17 16:36:00 +020051obj-$(CONFIG_MVEBU_A3700_UART) += serial_mvebu_a3700.o
Christophe Leroydd7ff472017-07-06 10:33:27 +020052obj-$(CONFIG_MPC8XX_CONS) += serial_mpc8xx.o
Keng Soon Cheahcac73f22017-08-24 20:29:07 -070053obj-$(CONFIG_NULLDEV_SERIAL) += serial_nulldev.o
Aneesh V05bad4a2011-07-13 05:11:06 +000054
55ifndef CONFIG_SPL_BUILD
Masahiro Yamada710f1d32013-10-17 17:34:57 +090056obj-$(CONFIG_USB_TTY) += usbtty.o
Aneesh V05bad4a2011-07-13 05:11:06 +000057endif