usb: ch9: fix up MaxStreams helper
[linux-2.6/linux-acpi-2.6/ibm-acpi-2.6.git] / drivers / usb / musb / Makefile
blobd8fd9d092dec55a4691e9c41124f60e08b540c9c
2 # for USB OTG silicon based on Mentor Graphics INVENTRA designs
5 obj-$(CONFIG_USB_MUSB_HDRC) += musb_hdrc.o
7 musb_hdrc-y := musb_core.o
9 musb_hdrc-y += musb_gadget_ep0.o musb_gadget.o
10 musb_hdrc-y += musb_virthub.o musb_host.o
11 musb_hdrc-$(CONFIG_DEBUG_FS) += musb_debugfs.o
13 # Hardware Glue Layer
14 obj-$(CONFIG_USB_MUSB_OMAP2PLUS) += omap2430.o
15 obj-$(CONFIG_USB_MUSB_AM35X) += am35x.o
16 obj-$(CONFIG_USB_MUSB_TUSB6010) += tusb6010.o
17 obj-$(CONFIG_USB_MUSB_DAVINCI) += davinci.o
18 obj-$(CONFIG_USB_MUSB_DA8XX) += da8xx.o
19 obj-$(CONFIG_USB_MUSB_BLACKFIN) += blackfin.o
20 obj-$(CONFIG_USB_MUSB_UX500) += ux500.o
22 # the kconfig must guarantee that only one of the
23 # possible I/O schemes will be enabled at a time ...
24 # PIO only, or DMA (several potential schemes).
25 # though PIO is always there to back up DMA, and for ep0
27 ifneq ($(CONFIG_MUSB_PIO_ONLY),y)
29 ifeq ($(CONFIG_USB_INVENTRA_DMA),y)
30 musb_hdrc-y += musbhsdma.o
32 else
33 ifeq ($(CONFIG_USB_TI_CPPI_DMA),y)
34 musb_hdrc-y += cppi_dma.o
36 else
37 ifeq ($(CONFIG_USB_TUSB_OMAP_DMA),y)
38 musb_hdrc-y += tusb6010_omap.o
40 else
41 ifeq ($(CONFIG_USB_UX500_DMA),y)
42 musb_hdrc-y += ux500_dma.o
44 endif
45 endif
46 endif
47 endif
48 endif