blob: 8dad36f9369a1da43df764e7906fbf1f42c373b1 [file] [log] [blame]
Tom Rini83d290c2018-05-06 17:58:06 -04001# SPDX-License-Identifier: GPL-2.0+
Jean-Christophe PLAGNIOL-VILLARDe4558662007-11-24 19:40:11 +01002#
3# (C) Copyright 2000-2007
4# Wolfgang Denk, DENX Software Engineering, wd@denx.de.
Jean-Christophe PLAGNIOL-VILLARDe4558662007-11-24 19:40:11 +01005
Sven Schwermer41a25f42018-11-21 08:43:53 +01006ifdef CONFIG_$(SPL_)DM_USB
Sven Schwermerab581702018-11-21 08:43:55 +01007obj-y += usb-uclass.o
Simon Glassdfd84002015-03-25 12:22:41 -06008obj-$(CONFIG_SANDBOX) += usb-sandbox.o
Simon Glassde312132015-03-25 12:21:59 -06009endif
10
Simon Glass0ccb0ac2022-04-24 23:31:23 -060011ifdef CONFIG_$(SPL_TPL_)USB_STORAGE
12obj-$(CONFIG_$(SPL_TPL_)BOOTSTD) += usb_bootdev.o
13endif
14
Jean-Christophe PLAGNIOL-VILLARD2731b9a2009-04-03 12:46:58 +020015# ohci
Masahiro Yamada44e32c72013-10-17 17:34:56 +090016obj-$(CONFIG_USB_OHCI_NEW) += ohci-hcd.o
17obj-$(CONFIG_USB_ATMEL) += ohci-at91.o
18obj-$(CONFIG_USB_OHCI_DA8XX) += ohci-da8xx.o
Masahiro Yamada44e32c72013-10-17 17:34:56 +090019obj-$(CONFIG_USB_R8A66597_HCD) += r8a66597-hcd.o
Sylvain Lemieuxadf8d582015-08-13 15:40:22 -040020obj-$(CONFIG_USB_OHCI_LPC32XX) += ohci-lpc32xx.o
Heiko Schocher991e6602019-07-16 10:49:07 +020021obj-$(CONFIG_USB_OHCI_PCI) += ohci-pci.o
Alexey Brodkinfee331f2015-12-14 17:18:50 +030022obj-$(CONFIG_USB_OHCI_GENERIC) += ohci-generic.o
Jim Liu693765a2022-06-21 17:09:02 +080023obj-$(CONFIG_USB_OHCI_NPCM) += ohci-npcm.o
Jean-Christophe PLAGNIOL-VILLARDd10c5a82008-11-07 22:46:21 +010024
Jean-Christophe PLAGNIOL-VILLARD2731b9a2009-04-03 12:46:58 +020025# echi
Tom Rini8850c5d2017-05-12 22:33:27 -040026obj-$(CONFIG_USB_EHCI_HCD) += ehci-hcd.o
Masahiro Yamada44e32c72013-10-17 17:34:56 +090027obj-$(CONFIG_USB_EHCI_ATMEL) += ehci-atmel.o
Masahiro Yamada44e32c72013-10-17 17:34:56 +090028obj-$(CONFIG_USB_EHCI_FSL) += ehci-fsl.o
Alexey Brodkin90fbb282015-12-02 12:32:02 +030029obj-$(CONFIG_USB_EHCI_GENERIC) += ehci-generic.o
Masahiro Yamada44e32c72013-10-17 17:34:56 +090030obj-$(CONFIG_USB_EHCI_EXYNOS) += ehci-exynos.o
Masahiro Yamada44e32c72013-10-17 17:34:56 +090031obj-$(CONFIG_USB_EHCI_MXS) += ehci-mxs.o
32obj-$(CONFIG_USB_EHCI_MX5) += ehci-mx5.o
33obj-$(CONFIG_USB_EHCI_MX6) += ehci-mx6.o
Adrian Alonso35554fc2015-08-06 15:43:17 -050034obj-$(CONFIG_USB_EHCI_MX7) += ehci-mx6.o
Jim Liu693765a2022-06-21 17:09:02 +080035obj-$(CONFIG_USB_EHCI_NPCM) += ehci-npcm.o
Masahiro Yamada44e32c72013-10-17 17:34:56 +090036obj-$(CONFIG_USB_EHCI_OMAP) += ehci-omap.o
Masahiro Yamada44e32c72013-10-17 17:34:56 +090037obj-$(CONFIG_USB_EHCI_MARVELL) += ehci-marvell.o
Mateusz Kulikowski5a822112016-03-31 23:12:26 +020038obj-$(CONFIG_USB_EHCI_MSM) += ehci-msm.o
Masahiro Yamada44e32c72013-10-17 17:34:56 +090039obj-$(CONFIG_USB_EHCI_PCI) += ehci-pci.o
Masahiro Yamada44e32c72013-10-17 17:34:56 +090040obj-$(CONFIG_USB_EHCI_TEGRA) += ehci-tegra.o
Sanchayan Maitya94bb7a2015-04-15 16:24:27 +053041obj-$(CONFIG_USB_EHCI_VF) += ehci-vf.o
Michal Simekeb8c54b2014-04-25 12:21:04 +020042obj-$(CONFIG_USB_EHCI_ZYNQ) += ehci-zynq.o
Jean-Christophe PLAGNIOL-VILLARDe4558662007-11-24 19:40:11 +010043
Vivek Gautam5853e132013-09-14 14:02:45 +053044# xhci
Rayagonda Kokatanur9cadf052020-04-09 09:23:15 +053045obj-$(CONFIG_USB_XHCI_BRCM) += xhci-brcm.o
Masahiro Yamada0a8cc1a2016-06-04 07:35:03 +090046obj-$(CONFIG_USB_XHCI_HCD) += xhci.o xhci-mem.o xhci-ring.o
Ramneek Mehreshdc9cdf82015-05-29 14:47:15 +053047obj-$(CONFIG_USB_XHCI_DWC3) += xhci-dwc3.o
Neil Armstrongca7fdc82018-04-11 17:08:00 +020048obj-$(CONFIG_USB_XHCI_DWC3_OF_SIMPLE) += dwc3-of-simple.o
Masahiro Yamada44e32c72013-10-17 17:34:56 +090049obj-$(CONFIG_USB_XHCI_EXYNOS) += xhci-exynos5.o
Ramneek Mehreshba92ee02015-05-29 14:47:19 +053050obj-$(CONFIG_USB_XHCI_FSL) += xhci-fsl.o
Chunfeng Yun74102832020-05-02 11:35:18 +020051obj-$(CONFIG_USB_XHCI_MTK) += xhci-mtk.o
Stefan Roese81c1f6f2016-07-14 11:39:20 +020052obj-$(CONFIG_USB_XHCI_MVEBU) += xhci-mvebu.o
Masahiro Yamada44e32c72013-10-17 17:34:56 +090053obj-$(CONFIG_USB_XHCI_OMAP) += xhci-omap.o
Simon Glass316328f2015-01-27 22:13:31 -070054obj-$(CONFIG_USB_XHCI_PCI) += xhci-pci.o
Marek Vasute1cc60c2017-10-15 15:01:29 +020055obj-$(CONFIG_USB_XHCI_RCAR) += xhci-rcar.o
Patrice Chotard40d1a312017-09-05 11:04:24 +020056obj-$(CONFIG_USB_XHCI_STI) += dwc3-sti-glue.o
Stefan Roese92ca2fe2020-08-24 13:04:38 +020057obj-$(CONFIG_USB_XHCI_OCTEON) += dwc3-octeon-glue.o
Oleksandr Tymoshenko6e9e0622014-02-01 21:51:25 -070058
59# designware
60obj-$(CONFIG_USB_DWC2) += dwc2.o