Felipe Balbi | 550a737 | 2008-07-24 12:27:36 +0300 | [diff] [blame] | 1 | # |
| 2 | # for USB OTG silicon based on Mentor Graphics INVENTRA designs |
| 3 | # |
| 4 | |
matt mooney | 0a2b8a0 | 2010-10-06 19:03:26 -0700 | [diff] [blame] | 5 | ccflags-$(CONFIG_USB_MUSB_DEBUG) := -DDEBUG |
Felipe Balbi | 550a737 | 2008-07-24 12:27:36 +0300 | [diff] [blame] | 6 | |
matt mooney | 0a2b8a0 | 2010-10-06 19:03:26 -0700 | [diff] [blame] | 7 | obj-$(CONFIG_USB_MUSB_HDRC) += musb_hdrc.o |
Felipe Balbi | 550a737 | 2008-07-24 12:27:36 +0300 | [diff] [blame] | 8 | |
matt mooney | 0a2b8a0 | 2010-10-06 19:03:26 -0700 | [diff] [blame] | 9 | musb_hdrc-y := musb_core.o |
Felipe Balbi | 550a737 | 2008-07-24 12:27:36 +0300 | [diff] [blame] | 10 | |
matt mooney | 0a2b8a0 | 2010-10-06 19:03:26 -0700 | [diff] [blame] | 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 |
Felipe Balbi | 7f7f9e2 | 2010-03-12 10:29:11 +0200 | [diff] [blame] | 14 | |
Felipe Balbi | 7c92554 | 2010-12-01 14:23:48 +0200 | [diff] [blame] | 15 | # Hardware Glue Layer |
Felipe Balbi | dc09886 | 2010-12-01 15:01:11 +0200 | [diff] [blame] | 16 | obj-$(CONFIG_USB_MUSB_OMAP2PLUS) += omap2430.o |
Felipe Balbi | ce40c57 | 2010-12-02 09:06:51 +0200 | [diff] [blame] | 17 | obj-$(CONFIG_USB_MUSB_AM35X) += am35x.o |
Felipe Balbi | 18688fb | 2010-12-02 09:13:54 +0200 | [diff] [blame] | 18 | obj-$(CONFIG_USB_MUSB_TUSB6010) += tusb6010.o |
Felipe Balbi | 73b089b | 2010-12-02 09:16:55 +0200 | [diff] [blame] | 19 | obj-$(CONFIG_USB_MUSB_DAVINCI) += davinci.o |
Felipe Balbi | 8ceae51 | 2010-12-02 09:19:35 +0200 | [diff] [blame] | 20 | obj-$(CONFIG_USB_MUSB_DA8XX) += da8xx.o |
Felipe Balbi | 9cb0308 | 2010-12-02 09:21:05 +0200 | [diff] [blame] | 21 | obj-$(CONFIG_USB_MUSB_BLACKFIN) += blackfin.o |
Mian Yousaf Kaukab | 4bc36fd | 2010-12-09 13:05:01 +0100 | [diff] [blame] | 22 | obj-$(CONFIG_USB_MUSB_UX500) += ux500.o |
Felipe Balbi | dc09886 | 2010-12-01 15:01:11 +0200 | [diff] [blame] | 23 | |
Felipe Balbi | 550a737 | 2008-07-24 12:27:36 +0300 | [diff] [blame] | 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 |
| 28 | |
| 29 | ifneq ($(CONFIG_MUSB_PIO_ONLY),y) |
| 30 | |
| 31 | ifeq ($(CONFIG_USB_INVENTRA_DMA),y) |
matt mooney | 0a2b8a0 | 2010-10-06 19:03:26 -0700 | [diff] [blame] | 32 | musb_hdrc-y += musbhsdma.o |
Felipe Balbi | 550a737 | 2008-07-24 12:27:36 +0300 | [diff] [blame] | 33 | |
| 34 | else |
| 35 | ifeq ($(CONFIG_USB_TI_CPPI_DMA),y) |
matt mooney | 0a2b8a0 | 2010-10-06 19:03:26 -0700 | [diff] [blame] | 36 | musb_hdrc-y += cppi_dma.o |
Felipe Balbi | 550a737 | 2008-07-24 12:27:36 +0300 | [diff] [blame] | 37 | |
| 38 | else |
| 39 | ifeq ($(CONFIG_USB_TUSB_OMAP_DMA),y) |
matt mooney | 0a2b8a0 | 2010-10-06 19:03:26 -0700 | [diff] [blame] | 40 | musb_hdrc-y += tusb6010_omap.o |
Felipe Balbi | 550a737 | 2008-07-24 12:27:36 +0300 | [diff] [blame] | 41 | |
| 42 | endif |
| 43 | endif |
| 44 | endif |
| 45 | endif |