Skip to content

Commit

Permalink
usb: musb: ux500: add configuration and build options for ux500 dma
Browse files Browse the repository at this point in the history
Signed-off-by: Mian Yousaf Kaukab <[email protected]>
Signed-off-by: Felipe Balbi <[email protected]>
  • Loading branch information
Mian Yousaf Kaukab authored and Felipe Balbi committed May 18, 2011
1 parent 8dcc8f7 commit d238944
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 0 deletions.
7 changes: 7 additions & 0 deletions drivers/usb/musb/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -153,6 +153,13 @@ config MUSB_PIO_ONLY
you can still disable it at run time using the "use_dma=n" module
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
bool
depends on USB_MUSB_HDRC && !MUSB_PIO_ONLY
Expand Down
5 changes: 5 additions & 0 deletions drivers/usb/musb/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,11 @@ ifneq ($(CONFIG_MUSB_PIO_ONLY),y)
ifeq ($(CONFIG_USB_TUSB_OMAP_DMA),y)
musb_hdrc-y += tusb6010_omap.o

else
ifeq ($(CONFIG_USB_UX500_DMA),y)
musb_hdrc-y += ux500_dma.o

endif
endif
endif
endif
Expand Down

0 comments on commit d238944

Please sign in to comment.