diff options
author | Mian Yousaf Kaukab <mian.yousaf.kaukab@stericsson.com> | 2011-03-22 10:55:59 -0400 |
---|---|---|
committer | Felipe Balbi <balbi@ti.com> | 2011-05-18 07:43:16 -0400 |
commit | d23894402b33338c51f1863d7f866fdc6f073a02 (patch) | |
tree | 4c6f0bfaee28d00db678c86b8e52954cb437a5da /drivers | |
parent | 8dcc8f72e3f3b7ed1ba1cd5641e15658e2140abe (diff) |
usb: musb: ux500: add configuration and build options for ux500 dma
Signed-off-by: Mian Yousaf Kaukab <mian.yousaf.kaukab@stericsson.com>
Signed-off-by: Felipe Balbi <balbi@ti.com>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/usb/musb/Kconfig | 7 | ||||
-rw-r--r-- | drivers/usb/musb/Makefile | 5 |
2 files changed, 12 insertions, 0 deletions
diff --git a/drivers/usb/musb/Kconfig b/drivers/usb/musb/Kconfig index dbb13bd8cb0b..13093481f918 100644 --- a/drivers/usb/musb/Kconfig +++ b/drivers/usb/musb/Kconfig | |||
@@ -153,6 +153,13 @@ config MUSB_PIO_ONLY | |||
153 | you can still disable it at run time using the "use_dma=n" module | 153 | you can still disable it at run time using the "use_dma=n" module |
154 | parameter. | 154 | parameter. |
155 | 155 | ||
156 | config USB_UX500_DMA | ||
157 | bool | ||
158 | depends on USB_MUSB_HDRC && !MUSB_PIO_ONLY | ||
159 | default USB_MUSB_UX500 | ||
160 | help | ||
161 | Enable DMA transfers on UX500 platforms. | ||
162 | |||
156 | config USB_INVENTRA_DMA | 163 | config USB_INVENTRA_DMA |
157 | bool | 164 | bool |
158 | depends on USB_MUSB_HDRC && !MUSB_PIO_ONLY | 165 | depends on USB_MUSB_HDRC && !MUSB_PIO_ONLY |
diff --git a/drivers/usb/musb/Makefile b/drivers/usb/musb/Makefile index 4e15281b9e02..c4d228b6ef8a 100644 --- a/drivers/usb/musb/Makefile +++ b/drivers/usb/musb/Makefile | |||
@@ -37,6 +37,11 @@ ifneq ($(CONFIG_MUSB_PIO_ONLY),y) | |||
37 | ifeq ($(CONFIG_USB_TUSB_OMAP_DMA),y) | 37 | ifeq ($(CONFIG_USB_TUSB_OMAP_DMA),y) |
38 | musb_hdrc-y += tusb6010_omap.o | 38 | musb_hdrc-y += tusb6010_omap.o |
39 | 39 | ||
40 | else | ||
41 | ifeq ($(CONFIG_USB_UX500_DMA),y) | ||
42 | musb_hdrc-y += ux500_dma.o | ||
43 | |||
44 | endif | ||
40 | endif | 45 | endif |
41 | endif | 46 | endif |
42 | endif | 47 | endif |