blob: 754efaa8ccf8fbebf2e2c591ec4c77ae83893952 [file] [log] [blame]
Linus Torvalds1da177e2005-04-16 15:20:36 -07001#
David Brownell75862692005-09-23 17:14:37 -07002# Makefile for USB Host Controller Drivers
Linus Torvalds1da177e2005-04-16 15:20:36 -07003#
4
Xenia Ragiadakou84a99f62013-08-06 00:22:15 +03005# tell define_trace.h where to find the xhci trace header
6CFLAGS_xhci-trace.o := -I$(src)
7
matt mooney0a2b8a02010-10-06 19:03:26 -07008fhci-y := fhci-hcd.o fhci-hub.o fhci-q.o
9fhci-y += fhci-mem.o fhci-tds.o fhci-sched.o
10
11fhci-$(CONFIG_FHCI_DEBUG) += fhci-dbg.o
12
Sebastian Andrzej Siewior0cc47d52011-09-23 14:20:02 -070013xhci-hcd-y := xhci.o xhci-mem.o
matt mooney0a2b8a02010-10-06 19:03:26 -070014xhci-hcd-y += xhci-ring.o xhci-hub.o xhci-dbg.o
Xenia Ragiadakou84a99f62013-08-06 00:22:15 +030015xhci-hcd-y += xhci-trace.o
Sebastian Siewiordb11e472008-04-24 00:37:04 +020016
Andrew Bresticker29e409f2014-10-03 11:35:29 +030017xhci-plat-hcd-y := xhci-plat.o
Gregory CLEMENT97374792014-05-15 12:17:33 +020018ifneq ($(CONFIG_USB_XHCI_MVEBU), )
Andrew Bresticker29e409f2014-10-03 11:35:29 +030019 xhci-plat-hcd-y += xhci-mvebu.o
Gregory CLEMENT97374792014-05-15 12:17:33 +020020endif
Yoshihiro Shimoda4ac89182014-07-09 10:08:52 +090021ifneq ($(CONFIG_USB_XHCI_RCAR), )
Andrew Bresticker29e409f2014-10-03 11:35:29 +030022 xhci-plat-hcd-y += xhci-rcar.o
Sebastian Andrzej Siewior3429e912012-03-13 16:57:41 +020023endif
24
David Vrabel7e6133a2008-09-17 16:34:28 +010025obj-$(CONFIG_USB_WHCI_HCD) += whci/
26
Alan Stern3091fa72015-04-22 12:11:59 -040027ifneq ($(CONFIG_USB), )
28 obj-$(CONFIG_PCI) += pci-quirks.o
29endif
David Brownell75862692005-09-23 17:14:37 -070030
Andrew Bresticker29e409f2014-10-03 11:35:29 +030031obj-$(CONFIG_USB_XHCI_PCI) += xhci-pci.o
32obj-$(CONFIG_USB_XHCI_PLATFORM) += xhci-plat-hcd.o
33
Linus Torvalds1da177e2005-04-16 15:20:36 -070034obj-$(CONFIG_USB_EHCI_HCD) += ehci-hcd.o
Alan Sternadfa79d2012-11-01 11:13:04 -040035obj-$(CONFIG_USB_EHCI_PCI) += ehci-pci.o
Alan Stern99f91932012-11-01 11:13:08 -040036obj-$(CONFIG_USB_EHCI_HCD_PLATFORM) += ehci-platform.o
Alan Sterndba63b22013-01-23 13:26:15 -050037obj-$(CONFIG_USB_EHCI_MXC) += ehci-mxc.o
Alan Stern54a419662013-03-12 12:44:39 +020038obj-$(CONFIG_USB_EHCI_HCD_OMAP) += ehci-omap.o
Manjunath Goudara76dd462013-04-02 18:23:59 +020039obj-$(CONFIG_USB_EHCI_HCD_ORION) += ehci-orion.o
Manjunath Goudar7675d6b2013-04-02 18:24:00 +020040obj-$(CONFIG_USB_EHCI_HCD_SPEAR) += ehci-spear.o
Paul Bolle4ed9a3d2014-10-03 10:21:44 +020041obj-$(CONFIG_USB_EHCI_HCD_STI) += ehci-st.o
Jingoo Han29824c12013-10-10 16:42:47 +090042obj-$(CONFIG_USB_EHCI_EXYNOS) += ehci-exynos.o
Manjunath Goudar97736962013-04-02 18:24:02 +020043obj-$(CONFIG_USB_EHCI_HCD_AT91) += ehci-atmel.o
Manjunath Goudar8c68e842013-04-02 18:24:03 +020044obj-$(CONFIG_USB_EHCI_MSM) += ehci-msm.o
Manjunath Goudar9fc5f242013-06-13 11:24:12 -060045obj-$(CONFIG_USB_EHCI_TEGRA) += ehci-tegra.o
Manjunath Goudara60f4f82013-09-21 16:44:42 +053046obj-$(CONFIG_USB_W90X900_EHCI) += ehci-w90x900.o
Alan Sternadfa79d2012-11-01 11:13:04 -040047
Rodolfo Giomettib92a78e2008-10-23 10:08:07 +020048obj-$(CONFIG_USB_OXU210HP_HCD) += oxu210hp-hcd.o
Olav Kongas4808a1c2005-04-09 22:57:39 +030049obj-$(CONFIG_USB_ISP116X_HCD) += isp116x-hcd.o
Lothar Wassmanna9d43092009-07-16 20:51:21 -040050obj-$(CONFIG_USB_ISP1362_HCD) += isp1362-hcd.o
Manjunath Goudarc1117af2013-05-28 18:34:51 +053051
Linus Torvalds1da177e2005-04-16 15:20:36 -070052obj-$(CONFIG_USB_OHCI_HCD) += ohci-hcd.o
Manjunath Goudarc1117af2013-05-28 18:34:51 +053053obj-$(CONFIG_USB_OHCI_HCD_PCI) += ohci-pci.o
Manjunath Goudar928fb682013-06-03 20:46:08 +053054obj-$(CONFIG_USB_OHCI_HCD_PLATFORM) += ohci-platform.o
Manjunath Goudar50a97e02013-09-21 16:38:38 +053055obj-$(CONFIG_USB_OHCI_EXYNOS) += ohci-exynos.o
Manjunath Goudarde57a152013-09-21 16:38:39 +053056obj-$(CONFIG_USB_OHCI_HCD_OMAP1) += ohci-omap.o
Manjunath Goudar3a48fef2013-09-21 16:38:40 +053057obj-$(CONFIG_USB_OHCI_HCD_OMAP3) += ohci-omap3.o
Manjunath Goudar1cc6ac52013-09-21 16:38:41 +053058obj-$(CONFIG_USB_OHCI_HCD_SPEAR) += ohci-spear.o
Arnd Bergmann905e3002014-09-29 14:54:34 +020059obj-$(CONFIG_USB_OHCI_HCD_STI) += ohci-st.o
Manjunath Goudare3825b42013-09-21 16:38:42 +053060obj-$(CONFIG_USB_OHCI_HCD_AT91) += ohci-at91.o
Manjunath Goudarf23b71f2013-09-21 16:38:43 +053061obj-$(CONFIG_USB_OHCI_HCD_S3C2410) += ohci-s3c2410.o
Manjunath Goudar30330b82013-09-21 16:38:44 +053062obj-$(CONFIG_USB_OHCI_HCD_LPC32XX) += ohci-nxp.o
Manjunath Goudarb8ad5c32013-09-21 16:38:46 +053063obj-$(CONFIG_USB_OHCI_HCD_PXA27X) += ohci-pxa27x.o
Manjunath Goudarc1117af2013-05-28 18:34:51 +053064
Linus Torvalds1da177e2005-04-16 15:20:36 -070065obj-$(CONFIG_USB_UHCI_HCD) += uhci-hcd.o
Anton Vorontsov236dd4d2009-01-10 05:03:21 +030066obj-$(CONFIG_USB_FHCI_HCD) += fhci.o
Alex Chiangbc75fa32010-03-16 14:48:45 -060067obj-$(CONFIG_USB_XHCI_HCD) += xhci-hcd.o
Linus Torvalds1da177e2005-04-16 15:20:36 -070068obj-$(CONFIG_USB_SL811_HCD) += sl811-hcd.o
David Brownellc6de2b62005-05-26 05:55:55 -070069obj-$(CONFIG_USB_SL811_CS) += sl811_cs.o
Tony Olechd774efe2006-09-13 11:27:35 +010070obj-$(CONFIG_USB_U132_HCD) += u132-hcd.o
Yoshihiro Shimoda5d304352007-05-10 13:18:19 +090071obj-$(CONFIG_USB_R8A66597_HCD) += r8a66597-hcd.o
Inaky Perez-Gonzalezd09318b2008-09-17 16:34:30 +010072obj-$(CONFIG_USB_HWA_HCD) += hwa-hc.o
Martin Fuzzey23d3e7a2009-11-21 12:14:48 +010073obj-$(CONFIG_USB_IMX21_HCD) += imx21-hcd.o
Anatolij Gustschin126512e2010-09-28 20:55:20 +020074obj-$(CONFIG_USB_FSL_MPH_DR_OF) += fsl-mph-dr-of.o
Ramneek Mehreshca07e1c2015-05-14 19:04:46 +053075obj-$(CONFIG_USB_EHCI_FSL) += ehci-fsl.o
Hauke Mehrtens62e11d12012-03-15 23:49:57 +010076obj-$(CONFIG_USB_HCD_BCMA) += bcma-hcd.o
Hauke Mehrtens7043c2c2012-03-15 23:49:58 +010077obj-$(CONFIG_USB_HCD_SSB) += ssb-hcd.o
Yuan-Hsin Chen6c920bfb2013-05-17 10:14:14 +000078obj-$(CONFIG_USB_FUSBH200_HCD) += fusbh200-hcd.o
Feng-Hsin Chiang7d501952013-07-29 16:48:32 +000079obj-$(CONFIG_USB_FOTG210_HCD) += fotg210-hcd.o
David Mosberger2d531392014-04-28 22:14:07 -060080obj-$(CONFIG_USB_MAX3421_HCD) += max3421-hcd.o