blob: 403ab1ded68a379359f2ca49660ad0d59cdbc2ca [file] [log] [blame]
Tom Rini10e47792018-05-06 17:58:06 -04001# SPDX-License-Identifier: GPL-2.0+
TsiChung Liewf6afe722007-06-18 13:50:13 -05002#
Detlev Zundelf04e2582009-04-23 13:14:20 +02003# (C) Copyright 2006-2009
TsiChung Liewf6afe722007-06-18 13:50:13 -05004# Wolfgang Denk, DENX Software Engineering, wd@denx.de.
TsiChung Liewf6afe722007-06-18 13:50:13 -05005
Tom Rini952cc382022-12-04 10:14:13 -05006ifeq ($(CONFIG_$(SPL_TPL_)DM_SERIAL),y)
Marek Vasutde570f02018-04-07 16:06:22 +02007obj-y += serial-uclass.o
Simon Glass247f5962014-09-04 16:27:26 -06008else
Masahiro Yamada5594ce42013-10-17 17:34:57 +09009obj-y += serial.o
Marek Vasutde570f02018-04-07 16:06:22 +020010endif
11
Marek Vasutde570f02018-04-07 16:06:22 +020012obj-$(CONFIG_PL01X_SERIAL) += serial_pl01x.o
Simon Glassf35484d2014-09-22 17:30:57 -060013obj-$(CONFIG_PL011_SERIAL) += serial_pl01x.o
Tom Rinidc172ee2022-12-04 09:39:03 -050014obj-$(CONFIG_$(SPL_)SYS_NS16550_SERIAL) += serial_ns16550.o
TsiChung Liewf6afe722007-06-18 13:50:13 -050015
Masahiro Yamada5594ce42013-10-17 17:34:57 +090016obj-$(CONFIG_ALTERA_UART) += altera_uart.o
17obj-$(CONFIG_ALTERA_JTAG_UART) += altera_jtag_uart.o
Wills Wangcb48c6d2016-03-16 16:59:57 +080018obj-$(CONFIG_AR933X_UART) += serial_ar933x.o
Masahiro Yamada5594ce42013-10-17 17:34:57 +090019obj-$(CONFIG_ARM_DCC) += arm_dcc.o
20obj-$(CONFIG_ATMEL_USART) += atmel_usart.o
Álvaro Fernández Rojas842cfaf2017-04-25 00:39:16 +020021obj-$(CONFIG_BCM6345_SERIAL) += serial_bcm6345.o
Simon Glass4d221072019-12-19 17:58:20 -070022obj-$(CONFIG_COREBOOT_SERIAL) += serial_coreboot.o
Jason Liadca83a2020-01-30 12:34:58 -080023obj-$(CONFIG_CORTINA_UART) += serial_cortina.o
Samuel Holland4c33c262021-09-12 10:56:09 -050024obj-$(CONFIG_DEBUG_SBI_CONSOLE) += serial_sbi.o
Simon Glass5a991bd2015-08-04 12:33:40 -060025obj-$(CONFIG_EFI_APP) += serial_efi.o
Angelo Durgehellodbc0c3a2020-02-29 01:09:35 +010026obj-$(CONFIG_MCFUART) += serial_mcf.o
Masahiro Yamada5594ce42013-10-17 17:34:57 +090027obj-$(CONFIG_SYS_NS16550) += ns16550.o
Mark Kettenis3b9ad302021-02-12 23:22:18 +010028obj-$(CONFIG_S5P_SERIAL) += serial_s5p.o
Masahiro Yamada5594ce42013-10-17 17:34:57 +090029obj-$(CONFIG_MXC_UART) += serial_mxc.o
Beniamino Galvanid1037e42016-05-08 08:30:16 +020030obj-$(CONFIG_MESON_SERIAL) += serial_meson.o
Andy Shevchenkoc65a7fe2017-02-28 14:04:10 +020031obj-$(CONFIG_INTEL_MID_SERIAL) += serial_intel_mid.o
Simon Glassb3068ad2016-07-04 11:58:24 -060032obj-$(CONFIG_ROCKCHIP_SERIAL) += serial_rockchip.o
Masahiro Yamada5594ce42013-10-17 17:34:57 +090033obj-$(CONFIG_XILINX_UARTLITE) += serial_xuartlite.o
34obj-$(CONFIG_SANDBOX_SERIAL) += sandbox.o
35obj-$(CONFIG_SCIF_CONSOLE) += serial_sh.o
Sean Andersond4f131a2022-03-22 16:59:24 -040036obj-$(CONFIG_SEMIHOSTING_SERIAL) += serial_semihosting.o
Masahiro Yamada5594ce42013-10-17 17:34:57 +090037obj-$(CONFIG_ZYNQ_SERIAL) += serial_zynq.o
Masahiro Yamada5594ce42013-10-17 17:34:57 +090038obj-$(CONFIG_FSL_LPUART) += serial_lpuart.o
Stoica Cosmin-Stefan0edfb4e2016-06-05 03:42:59 +030039obj-$(CONFIG_FSL_LINFLEXUART) += serial_linflexuart.o
Alexey Brodkinc51eb112013-12-13 10:35:11 +040040obj-$(CONFIG_ARC_SERIAL) += serial_arc.o
Masahiro Yamadab2890732014-10-03 19:21:05 +090041obj-$(CONFIG_UNIPHIER_SERIAL) += serial_uniphier.o
rev13@wp.plaf9873c2015-03-01 12:44:41 +010042obj-$(CONFIG_STM32_SERIAL) += serial_stm32.o
Patrice Chotard42d742b2017-02-21 13:37:07 +010043obj-$(CONFIG_STI_ASC_SERIAL) += serial_sti_asc.o
Paul Thacker1dc42832016-01-28 15:30:14 +053044obj-$(CONFIG_PIC32_SERIAL) += serial_pic32.o
Stephen Warrenf84f9bf2016-03-18 21:41:38 -060045obj-$(CONFIG_BCM283X_MU_SERIAL) += serial_bcm283x_mu.o
Alexander Grafa73b0ec2018-01-25 12:05:55 +010046obj-$(CONFIG_BCM283X_PL011_SERIAL) += serial_bcm283x_pl011.o
Mateusz Kulikowski8aac6972016-03-31 23:12:14 +020047obj-$(CONFIG_MSM_SERIAL) += serial_msm.o
Dzmitry Sankouskif5be5c82021-10-17 13:44:27 +030048obj-$(CONFIG_MSM_GENI_SERIAL) += serial_msm_geni.o
Marek Vasut8cc43682023-05-06 16:43:31 +020049obj-$(CONFIG_MXS_AUART_SERIAL) += serial_mxs.o
Stefan Roese027276a2016-05-17 16:36:00 +020050obj-$(CONFIG_MVEBU_A3700_UART) += serial_mvebu_a3700.o
Christophe Leroy9ac4a542017-07-06 10:33:27 +020051obj-$(CONFIG_MPC8XX_CONS) += serial_mpc8xx.o
Keng Soon Cheah755e2d02017-08-24 20:29:07 -070052obj-$(CONFIG_NULLDEV_SERIAL) += serial_nulldev.o
Jim Liu1a2abf62022-04-19 13:32:21 +080053obj-$(CONFIG_NPCM_SERIAL) += serial_npcm.o
Stefan Roese09e90762021-04-07 09:12:31 +020054obj-$(CONFIG_OCTEON_SERIAL_BOOTCMD) += serial_octeon_bootcmd.o
Stefan Roese01452252021-04-07 09:12:30 +020055obj-$(CONFIG_OCTEON_SERIAL_PCIE_CONSOLE) += serial_octeon_pcie_console.o
Manivannan Sadhasivam01e47392018-06-14 23:38:38 +053056obj-$(CONFIG_OWL_SERIAL) += serial_owl.o
Lokesh Vutla42cb4b82018-08-27 15:55:24 +053057obj-$(CONFIG_OMAP_SERIAL) += serial_omap.o
developer90af58f2018-11-15 10:08:02 +080058obj-$(CONFIG_MTK_SERIAL) += serial_mtk.o
developere076b9e2020-11-12 16:36:05 +080059obj-$(CONFIG_MT7620_SERIAL) += serial_mt7620.o
Anup Patelc0fe2842022-01-27 11:41:07 +053060obj-$(CONFIG_HTIF_CONSOLE) += serial_htif.o
Anup Patel4b1d68f2018-12-15 11:35:15 +053061obj-$(CONFIG_SIFIVE_SERIAL) += serial_sifive.o
Peng Fan8162f8f2020-08-06 12:42:50 +030062obj-$(CONFIG_XEN_SERIAL) += serial_xen.o
Stefan Bosch86a200a2022-12-18 12:25:33 +000063obj-$(CONFIG_S5P4418_PL011_SERIAL) += serial_s5p4418_pl011.o
Aneesh V55fc5b62011-07-13 05:11:06 +000064
65ifndef CONFIG_SPL_BUILD
Masahiro Yamada5594ce42013-10-17 17:34:57 +090066obj-$(CONFIG_USB_TTY) += usbtty.o
Aneesh V55fc5b62011-07-13 05:11:06 +000067endif