Commit d2389440 authored by Mian Yousaf Kaukab's avatar Mian Yousaf Kaukab Committed by Felipe Balbi

usb: musb: ux500: add configuration and build options for ux500 dma

Signed-off-by: default avatarMian Yousaf Kaukab <mian.yousaf.kaukab@stericsson.com>
Signed-off-by: default avatarFelipe Balbi <balbi@ti.com>
parent 8dcc8f72
...@@ -153,6 +153,13 @@ config MUSB_PIO_ONLY ...@@ -153,6 +153,13 @@ config MUSB_PIO_ONLY
you can still disable it at run time using the "use_dma=n" module you can still disable it at run time using the "use_dma=n" module
parameter. parameter.
config USB_UX500_DMA
bool
depends on USB_MUSB_HDRC && !MUSB_PIO_ONLY
default USB_MUSB_UX500
help
Enable DMA transfers on UX500 platforms.
config USB_INVENTRA_DMA config USB_INVENTRA_DMA
bool bool
depends on USB_MUSB_HDRC && !MUSB_PIO_ONLY depends on USB_MUSB_HDRC && !MUSB_PIO_ONLY
......
...@@ -37,6 +37,11 @@ ifneq ($(CONFIG_MUSB_PIO_ONLY),y) ...@@ -37,6 +37,11 @@ ifneq ($(CONFIG_MUSB_PIO_ONLY),y)
ifeq ($(CONFIG_USB_TUSB_OMAP_DMA),y) ifeq ($(CONFIG_USB_TUSB_OMAP_DMA),y)
musb_hdrc-y += tusb6010_omap.o musb_hdrc-y += tusb6010_omap.o
else
ifeq ($(CONFIG_USB_UX500_DMA),y)
musb_hdrc-y += ux500_dma.o
endif
endif endif
endif endif
endif endif
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment