Sergei Shtylyov wrote:
Texas Instruments CPPI 4.1 DMA support for the MUSBMHRDC driver.
<snip> ..
Index: linux-davinci/drivers/usb/musb/Makefile
===================================================================
--- linux-davinci.orig/drivers/usb/musb/Makefile
+++ linux-davinci/drivers/usb/musb/Makefile
@@ -53,9 +53,13 @@ ifneq ($(CONFIG_MUSB_PIO_ONLY),y)
       musb_hdrc-objs           += cppi_dma.o
else
-      ifeq ($(CONFIG_USB_TUSB_OMAP_DMA),y)
-        musb_hdrc-objs         += tusb6010_omap.o
+      ifeq ($(CONFIG_USB_TI_CPPI41_DMA),y)
+        musb_hdrc-objs         += cppi41_dma.o
+ ifeq ($(CONFIG_USB_TUSB_OMAP_DMA),y)
+          musb_hdrc-objs       += tusb6010_omap.o
+
+        endif
       endif
     endif
   endif

You put the "ifeq($(CONFIG_USB_TUSB_OMAP_DMA),y)" in the
"ifeq ($(CONFIG_USB_TI_CPPI41_DMA),y) ..... endif".

So if CONFIG_USB_TI_CPPI41_DMA is not enabled, tusb6010_omap.c will not be compiled.

Stanley.


_______________________________________________
Davinci-linux-open-source mailing list
[email protected]
http://linux.davincidsp.com/mailman/listinfo/davinci-linux-open-source

Reply via email to