1 # SPDX-License-Identifier: GPL-2.0
3 # Makefile for USB Host Controller Drivers
6 # tell define_trace.h where to find the xhci trace header
7 CFLAGS_xhci-trace.o
:= -I
$(src
)
9 fhci-y
:= fhci-hcd.o fhci-hub.o fhci-q.o
10 fhci-y
+= fhci-mem.o fhci-tds.o fhci-sched.o
12 fhci-
$(CONFIG_FHCI_DEBUG
) += fhci-dbg.o
14 xhci-hcd-y
:= xhci.o xhci-mem.o xhci-ext-caps.o
15 xhci-hcd-y
+= xhci-ring.o xhci-hub.o xhci-dbg.o
16 xhci-hcd-y
+= xhci-trace.o
18 ifneq ($(CONFIG_USB_XHCI_DBGCAP
), )
19 xhci-hcd-y
+= xhci-dbgcap.o xhci-dbgtty.o
22 ifneq ($(CONFIG_USB_XHCI_MTK
), )
23 xhci-hcd-y
+= xhci-mtk-sch.o
26 xhci-plat-hcd-y
:= xhci-plat.o
27 ifneq ($(CONFIG_USB_XHCI_MVEBU
), )
28 xhci-plat-hcd-y
+= xhci-mvebu.o
30 ifneq ($(CONFIG_USB_XHCI_RCAR
), )
31 xhci-plat-hcd-y
+= xhci-rcar.o
34 ifneq ($(CONFIG_DEBUG_FS
),)
35 xhci-hcd-y
+= xhci-debugfs.o
38 obj-
$(CONFIG_USB_WHCI_HCD
) += whci
/
40 obj-
$(CONFIG_USB_PCI
) += pci-quirks.o
42 obj-
$(CONFIG_USB_EHCI_HCD
) += ehci-hcd.o
43 obj-
$(CONFIG_USB_EHCI_PCI
) += ehci-pci.o
44 obj-
$(CONFIG_USB_EHCI_HCD_PLATFORM
) += ehci-platform.o
45 obj-
$(CONFIG_USB_EHCI_MXC
) += ehci-mxc.o
46 obj-
$(CONFIG_USB_EHCI_HCD_NPCM7XX
) += ehci-npcm7xx.o
47 obj-
$(CONFIG_USB_EHCI_HCD_OMAP
) += ehci-omap.o
48 obj-
$(CONFIG_USB_EHCI_HCD_ORION
) += ehci-orion.o
49 obj-
$(CONFIG_USB_EHCI_HCD_SPEAR
) += ehci-spear.o
50 obj-
$(CONFIG_USB_EHCI_HCD_STI
) += ehci-st.o
51 obj-
$(CONFIG_USB_EHCI_EXYNOS
) += ehci-exynos.o
52 obj-
$(CONFIG_USB_EHCI_HCD_AT91
) += ehci-atmel.o
53 obj-
$(CONFIG_USB_EHCI_TEGRA
) += ehci-tegra.o
54 obj-
$(CONFIG_USB_W90X900_EHCI
) += ehci-w90x900.o
56 obj-
$(CONFIG_USB_OXU210HP_HCD
) += oxu210hp-hcd.o
57 obj-
$(CONFIG_USB_ISP116X_HCD
) += isp116x-hcd.o
58 obj-
$(CONFIG_USB_ISP1362_HCD
) += isp1362-hcd.o
60 obj-
$(CONFIG_USB_OHCI_HCD
) += ohci-hcd.o
61 obj-
$(CONFIG_USB_OHCI_HCD_PCI
) += ohci-pci.o
62 obj-
$(CONFIG_USB_OHCI_HCD_PLATFORM
) += ohci-platform.o
63 obj-
$(CONFIG_USB_OHCI_EXYNOS
) += ohci-exynos.o
64 obj-
$(CONFIG_USB_OHCI_HCD_OMAP1
) += ohci-omap.o
65 obj-
$(CONFIG_USB_OHCI_HCD_SPEAR
) += ohci-spear.o
66 obj-
$(CONFIG_USB_OHCI_HCD_STI
) += ohci-st.o
67 obj-
$(CONFIG_USB_OHCI_HCD_AT91
) += ohci-at91.o
68 obj-
$(CONFIG_USB_OHCI_HCD_S3C2410
) += ohci-s3c2410.o
69 obj-
$(CONFIG_USB_OHCI_HCD_LPC32XX
) += ohci-nxp.o
70 obj-
$(CONFIG_USB_OHCI_HCD_PXA27X
) += ohci-pxa27x.o
71 obj-
$(CONFIG_USB_OHCI_HCD_DAVINCI
) += ohci-da8xx.o
73 obj-
$(CONFIG_USB_UHCI_HCD
) += uhci-hcd.o
74 obj-
$(CONFIG_USB_FHCI_HCD
) += fhci.o
75 obj-
$(CONFIG_USB_XHCI_HCD
) += xhci-hcd.o
76 obj-
$(CONFIG_USB_XHCI_PCI
) += xhci-pci.o
77 obj-
$(CONFIG_USB_XHCI_PLATFORM
) += xhci-plat-hcd.o
78 obj-
$(CONFIG_USB_XHCI_HISTB
) += xhci-histb.o
79 obj-
$(CONFIG_USB_XHCI_MTK
) += xhci-mtk.o
80 obj-
$(CONFIG_USB_XHCI_TEGRA
) += xhci-tegra.o
81 obj-
$(CONFIG_USB_SL811_HCD
) += sl811-hcd.o
82 obj-
$(CONFIG_USB_SL811_CS
) += sl811_cs.o
83 obj-
$(CONFIG_USB_U132_HCD
) += u132-hcd.o
84 obj-
$(CONFIG_USB_R8A66597_HCD
) += r8a66597-hcd.o
85 obj-
$(CONFIG_USB_HWA_HCD
) += hwa-hc.o
86 obj-
$(CONFIG_USB_IMX21_HCD
) += imx21-hcd.o
87 obj-
$(CONFIG_USB_FSL_USB2
) += fsl-mph-dr-of.o
88 obj-
$(CONFIG_USB_EHCI_FSL
) += fsl-mph-dr-of.o
89 obj-
$(CONFIG_USB_EHCI_FSL
) += ehci-fsl.o
90 obj-
$(CONFIG_USB_EHCI_MV
) += ehci-mv.o
91 obj-
$(CONFIG_USB_HCD_BCMA
) += bcma-hcd.o
92 obj-
$(CONFIG_USB_HCD_SSB
) += ssb-hcd.o
93 obj-
$(CONFIG_USB_FOTG210_HCD
) += fotg210-hcd.o
94 obj-
$(CONFIG_USB_MAX3421_HCD
) += max3421-hcd.o