1550a7375SFelipe Balbi# 2550a7375SFelipe Balbi# for USB OTG silicon based on Mentor Graphics INVENTRA designs 3550a7375SFelipe Balbi# 4550a7375SFelipe Balbi 50a2b8a0dSmatt mooneyccflags-$(CONFIG_USB_MUSB_DEBUG) := -DDEBUG 6550a7375SFelipe Balbi 7550a7375SFelipe Balbiobj-$(CONFIG_USB_MUSB_HDRC) += musb_hdrc.o 8550a7375SFelipe Balbi 90a2b8a0dSmatt mooneymusb_hdrc-y := musb_core.o 10550a7375SFelipe Balbi 110a2b8a0dSmatt mooneymusb_hdrc-$(CONFIG_USB_GADGET_MUSB_HDRC) += musb_gadget_ep0.o musb_gadget.o 120a2b8a0dSmatt mooneymusb_hdrc-$(CONFIG_USB_MUSB_HDRC_HCD) += musb_virthub.o musb_host.o 130a2b8a0dSmatt mooneymusb_hdrc-$(CONFIG_DEBUG_FS) += musb_debugfs.o 147f7f9e2aSFelipe Balbi 15*7c925546SFelipe Balbi# Hardware Glue Layer 16*7c925546SFelipe Balbi 17*7c925546SFelipe Balbimusb_hdrc-$(CONFIG_USB_MUSB_DAVINCI) += davinci.o 18*7c925546SFelipe Balbimusb_hdrc-$(CONFIG_USB_MUSB_DA8XX) += da8xx.o 19*7c925546SFelipe Balbimusb_hdrc-$(CONFIG_USB_MUSB_TUSB6010) += tusb6010.o 20*7c925546SFelipe Balbimusb_hdrc-$(CONFIG_USB_MUSB_OMAP2PLUS) += omap2430.o 21*7c925546SFelipe Balbimusb_hdrc-$(CONFIG_USB_MUSB_AM35X) += am35x.o 22*7c925546SFelipe Balbimusb_hdrc-$(CONFIG_USB_MUSB_BLACKFIN) += blackfin.o 23*7c925546SFelipe Balbi 24550a7375SFelipe Balbi# the kconfig must guarantee that only one of the 25550a7375SFelipe Balbi# possible I/O schemes will be enabled at a time ... 26550a7375SFelipe Balbi# PIO only, or DMA (several potential schemes). 27550a7375SFelipe Balbi# though PIO is always there to back up DMA, and for ep0 28550a7375SFelipe Balbi 29550a7375SFelipe Balbiifneq ($(CONFIG_MUSB_PIO_ONLY),y) 30550a7375SFelipe Balbi 31550a7375SFelipe Balbi ifeq ($(CONFIG_USB_INVENTRA_DMA),y) 320a2b8a0dSmatt mooney musb_hdrc-y += musbhsdma.o 33550a7375SFelipe Balbi 34550a7375SFelipe Balbi else 35550a7375SFelipe Balbi ifeq ($(CONFIG_USB_TI_CPPI_DMA),y) 360a2b8a0dSmatt mooney musb_hdrc-y += cppi_dma.o 37550a7375SFelipe Balbi 38550a7375SFelipe Balbi else 39550a7375SFelipe Balbi ifeq ($(CONFIG_USB_TUSB_OMAP_DMA),y) 400a2b8a0dSmatt mooney musb_hdrc-y += tusb6010_omap.o 41550a7375SFelipe Balbi 42550a7375SFelipe Balbi endif 43550a7375SFelipe Balbi endif 44550a7375SFelipe Balbi endif 45550a7375SFelipe Balbiendif 46