blob: 792956e647acf6d0c51e2578ffdaf3b09caece4a [file] [log] [blame]
Tom Rini10e47792018-05-06 17:58:06 -04001# SPDX-License-Identifier: GPL-2.0+
Jean-Christophe PLAGNIOL-VILLARD780133c2007-11-24 19:40:11 +01002#
3# (C) Copyright 2000-2007
4# Wolfgang Denk, DENX Software Engineering, wd@denx.de.
Jean-Christophe PLAGNIOL-VILLARD780133c2007-11-24 19:40:11 +01005
Simon Glass86adc2e2024-09-29 19:49:53 -06006ifdef CONFIG_$(XPL_)DM_USB
Sven Schwermer8416c6a2018-11-21 08:43:55 +01007obj-y += usb-uclass.o
Simon Glassbc4546a2015-03-25 12:22:41 -06008obj-$(CONFIG_SANDBOX) += usb-sandbox.o
Simon Glass9b82eeb2015-03-25 12:21:59 -06009endif
10
Simon Glass4cafa212024-09-29 19:49:54 -060011ifdef CONFIG_$(PHASE_)USB_STORAGE
12obj-$(CONFIG_$(PHASE_)BOOTSTD) += usb_bootdev.o
Simon Glasse1917ef2022-04-24 23:31:23 -060013endif
14
Jean-Christophe PLAGNIOL-VILLARD8f6bcf42009-04-03 12:46:58 +020015# ohci
Masahiro Yamada3e021682013-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 Yamada3e021682013-10-17 17:34:56 +090019obj-$(CONFIG_USB_R8A66597_HCD) += r8a66597-hcd.o
Sylvain Lemieux890cc772015-08-13 15:40:22 -040020obj-$(CONFIG_USB_OHCI_LPC32XX) += ohci-lpc32xx.o
Heiko Schocher124f9472019-07-16 10:49:07 +020021obj-$(CONFIG_USB_OHCI_PCI) += ohci-pci.o
Alexey Brodkin83fd3122015-12-14 17:18:50 +030022obj-$(CONFIG_USB_OHCI_GENERIC) += ohci-generic.o
Jim Liu1fd3b3d2022-06-21 17:09:02 +080023obj-$(CONFIG_USB_OHCI_NPCM) += ohci-npcm.o
Kumar Galad6c98cc2008-08-11 09:16:25 -050024
Jean-Christophe PLAGNIOL-VILLARD8f6bcf42009-04-03 12:46:58 +020025# echi
Tom Riniceed5d22017-05-12 22:33:27 -040026obj-$(CONFIG_USB_EHCI_HCD) += ehci-hcd.o
Masahiro Yamada3e021682013-10-17 17:34:56 +090027obj-$(CONFIG_USB_EHCI_ATMEL) += ehci-atmel.o
Masahiro Yamada3e021682013-10-17 17:34:56 +090028obj-$(CONFIG_USB_EHCI_FSL) += ehci-fsl.o
Alexey Brodkina6aff432015-12-02 12:32:02 +030029obj-$(CONFIG_USB_EHCI_GENERIC) += ehci-generic.o
Masahiro Yamada3e021682013-10-17 17:34:56 +090030obj-$(CONFIG_USB_EHCI_EXYNOS) += ehci-exynos.o
Masahiro Yamada3e021682013-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 Alonsof31599f2015-08-06 15:43:17 -050034obj-$(CONFIG_USB_EHCI_MX7) += ehci-mx6.o
Jim Liu1fd3b3d2022-06-21 17:09:02 +080035obj-$(CONFIG_USB_EHCI_NPCM) += ehci-npcm.o
Masahiro Yamada3e021682013-10-17 17:34:56 +090036obj-$(CONFIG_USB_EHCI_OMAP) += ehci-omap.o
Masahiro Yamada3e021682013-10-17 17:34:56 +090037obj-$(CONFIG_USB_EHCI_MARVELL) += ehci-marvell.o
Mateusz Kulikowskidc381172016-03-31 23:12:26 +020038obj-$(CONFIG_USB_EHCI_MSM) += ehci-msm.o
Masahiro Yamada3e021682013-10-17 17:34:56 +090039obj-$(CONFIG_USB_EHCI_PCI) += ehci-pci.o
Masahiro Yamada3e021682013-10-17 17:34:56 +090040obj-$(CONFIG_USB_EHCI_TEGRA) += ehci-tegra.o
Sanchayan Maity1b320bd2015-04-15 16:24:27 +053041obj-$(CONFIG_USB_EHCI_VF) += ehci-vf.o
Michal Simekec028202014-04-25 12:21:04 +020042obj-$(CONFIG_USB_EHCI_ZYNQ) += ehci-zynq.o
Jean-Christophe PLAGNIOL-VILLARD780133c2007-11-24 19:40:11 +010043
Vivek Gautam4912dcc2013-09-14 14:02:45 +053044# xhci
Rayagonda Kokatanurf59d24e2020-04-09 09:23:15 +053045obj-$(CONFIG_USB_XHCI_BRCM) += xhci-brcm.o
Masahiro Yamada58d00232016-06-04 07:35:03 +090046obj-$(CONFIG_USB_XHCI_HCD) += xhci.o xhci-mem.o xhci-ring.o
Ramneek Mehresh3dad08d2015-05-29 14:47:15 +053047obj-$(CONFIG_USB_XHCI_DWC3) += xhci-dwc3.o
Neil Armstrong069421e2018-04-11 17:08:00 +020048obj-$(CONFIG_USB_XHCI_DWC3_OF_SIMPLE) += dwc3-of-simple.o
Masahiro Yamada3e021682013-10-17 17:34:56 +090049obj-$(CONFIG_USB_XHCI_EXYNOS) += xhci-exynos5.o
Ramneek Mehreshf4de4072015-05-29 14:47:19 +053050obj-$(CONFIG_USB_XHCI_FSL) += xhci-fsl.o
developer507fc9b2020-05-02 11:35:18 +020051obj-$(CONFIG_USB_XHCI_MTK) += xhci-mtk.o
Stefan Roese07faf112016-07-14 11:39:20 +020052obj-$(CONFIG_USB_XHCI_MVEBU) += xhci-mvebu.o
Masahiro Yamada3e021682013-10-17 17:34:56 +090053obj-$(CONFIG_USB_XHCI_OMAP) += xhci-omap.o
Simon Glass40ffb682015-01-27 22:13:31 -070054obj-$(CONFIG_USB_XHCI_PCI) += xhci-pci.o
Marek Vasut24257272017-10-15 15:01:29 +020055obj-$(CONFIG_USB_XHCI_RCAR) += xhci-rcar.o
Patrice Chotardf2505b12017-09-05 11:04:24 +020056obj-$(CONFIG_USB_XHCI_STI) += dwc3-sti-glue.o
Stefan Roesedf33b572020-08-24 13:04:38 +020057obj-$(CONFIG_USB_XHCI_OCTEON) += dwc3-octeon-glue.o
Oleksandr Tymoshenko7a881752014-02-01 21:51:25 -070058
59# designware
60obj-$(CONFIG_USB_DWC2) += dwc2.o