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
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