sfc: Don't use enums as a bitmask.
[zen-stable.git] / drivers / usb / musb / Makefile
blob74df5284894fe8d46ff0e67afd29e76b46e8f0c1
2 # for USB OTG silicon based on Mentor Graphics INVENTRA designs
5 ccflags-$(CONFIG_USB_MUSB_DEBUG) := -DDEBUG
7 obj-$(CONFIG_USB_MUSB_HDRC) += musb_hdrc.o
9 musb_hdrc-y := musb_core.o
11 musb_hdrc-$(CONFIG_USB_GADGET_MUSB_HDRC) += musb_gadget_ep0.o musb_gadget.o
12 musb_hdrc-$(CONFIG_USB_MUSB_HDRC_HCD) += musb_virthub.o musb_host.o
13 musb_hdrc-$(CONFIG_DEBUG_FS) += musb_debugfs.o
15 # Hardware Glue Layer
16 obj-$(CONFIG_USB_MUSB_OMAP2PLUS) += omap2430.o
17 obj-$(CONFIG_USB_MUSB_AM35X) += am35x.o
18 obj-$(CONFIG_USB_MUSB_TUSB6010) += tusb6010.o
19 obj-$(CONFIG_USB_MUSB_DAVINCI) += davinci.o
20 obj-$(CONFIG_USB_MUSB_DA8XX) += da8xx.o
21 obj-$(CONFIG_USB_MUSB_BLACKFIN) += blackfin.o
22 obj-$(CONFIG_USB_MUSB_UX500) += ux500.o
24 # the kconfig must guarantee that only one of the
25 # possible I/O schemes will be enabled at a time ...
26 # PIO only, or DMA (several potential schemes).
27 # though PIO is always there to back up DMA, and for ep0
29 ifneq ($(CONFIG_MUSB_PIO_ONLY),y)
31 ifeq ($(CONFIG_USB_INVENTRA_DMA),y)
32 musb_hdrc-y += musbhsdma.o
34 else
35 ifeq ($(CONFIG_USB_TI_CPPI_DMA),y)
36 musb_hdrc-y += cppi_dma.o
38 else
39 ifeq ($(CONFIG_USB_TUSB_OMAP_DMA),y)
40 musb_hdrc-y += tusb6010_omap.o
42 endif
43 endif
44 endif
45 endif