]> git.karo-electronics.de Git - mv-sheeva.git/blob - drivers/usb/musb/Makefile
OMAP: DSS2: Introduce omap_channel as an omap_dss_device parameter, add new overlay...
[mv-sheeva.git] / drivers / usb / musb / Makefile
1 #
2 # for USB OTG silicon based on Mentor Graphics INVENTRA designs
3 #
4
5 ccflags-$(CONFIG_USB_MUSB_DEBUG) := -DDEBUG
6
7 obj-$(CONFIG_USB_MUSB_HDRC) += musb_hdrc.o
8
9 musb_hdrc-y := musb_core.o
10
11 musb_hdrc-$(CONFIG_ARCH_DAVINCI_DMx)            += davinci.o
12 musb_hdrc-$(CONFIG_ARCH_DAVINCI_DA8XX)          += da8xx.o
13 musb_hdrc-$(CONFIG_USB_TUSB6010)                += tusb6010.o
14 musb_hdrc-$(CONFIG_ARCH_OMAP2430)               += omap2430.o
15 ifeq ($(CONFIG_USB_MUSB_AM35X),y)
16         musb_hdrc-$(CONFIG_ARCH_OMAP3430)       += am35x.o
17 else
18         musb_hdrc-$(CONFIG_ARCH_OMAP3430)       += omap2430.o
19 endif
20 musb_hdrc-$(CONFIG_ARCH_OMAP4)                  += omap2430.o
21 musb_hdrc-$(CONFIG_BF54x)                       += blackfin.o
22 musb_hdrc-$(CONFIG_BF52x)                       += blackfin.o
23 musb_hdrc-$(CONFIG_USB_GADGET_MUSB_HDRC)        += musb_gadget_ep0.o musb_gadget.o
24 musb_hdrc-$(CONFIG_USB_MUSB_HDRC_HCD)           += musb_virthub.o musb_host.o
25 musb_hdrc-$(CONFIG_DEBUG_FS)                    += musb_debugfs.o
26
27 # the kconfig must guarantee that only one of the
28 # possible I/O schemes will be enabled at a time ...
29 # PIO only, or DMA (several potential schemes).
30 # though PIO is always there to back up DMA, and for ep0
31
32 ifneq ($(CONFIG_MUSB_PIO_ONLY),y)
33
34   ifeq ($(CONFIG_USB_INVENTRA_DMA),y)
35     musb_hdrc-y                 += musbhsdma.o
36
37   else
38     ifeq ($(CONFIG_USB_TI_CPPI_DMA),y)
39       musb_hdrc-y               += cppi_dma.o
40
41     else
42       ifeq ($(CONFIG_USB_TUSB_OMAP_DMA),y)
43         musb_hdrc-y             += tusb6010_omap.o
44
45       endif
46     endif
47   endif
48 endif