[PATCH 1/8] ARM i.MX dma: implement wrapper for dma functions
Magnus Lilja
lilja.magnus at gmail.com
Mon Aug 9 14:43:58 EDT 2010
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 at pengutronix.de>
> 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!
> +#include <mach/dma.h>
> +
> +static struct imx_dma_operations *imx_dma_ops;
> +
> +static DEFINE_MUTEX(dma_mutex);
> +
Regards, Magnus
More information about the linux-arm-kernel
mailing list