Thread (24 messages) 24 messages, 9 authors, 2010-08-10

[PATCH 1/8] ARM i.MX dma: implement wrapper for dma functions

flat view

From: Magnus Lilja <hidden>
Date: 2010-08-09 18:43:58

Hi Sascha,

On 2010-08-09 11:05, Sascha Hauer wrote:
Currently there is only one i.MX DMA implementation in the tree,
the one for i.MX1/21/27. The SDMA support for i.MX25/31/35/51 can
be implemented similarly. This wrapper for the DMA is implemented
so that drivers do not have to care about the implementation
present and don't have to #ifdef DMA support

Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
quoted hunk ↗ jump to hunk
diff --git a/arch/arm/plat-mxc/dma.c b/arch/arm/plat-mxc/dma.c
new file mode 100644
index 0000000..1a241ab
--- /dev/null
+++ b/arch/arm/plat-mxc/dma.c
@@ -0,0 +1,112 @@
+

Remember to add Copyright+License information here!
quoted hunk ↗ jump to hunk
+#include <mach/dma.h>
+
+static struct imx_dma_operations *imx_dma_ops;
+
+static DEFINE_MUTEX(dma_mutex);
+

Regards, Magnus
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help