ARM: OMAP2+: dma: Define dma capabilities register bitfields and use them.
authorR Sricharan <r.sricharan@ti.com>
Mon, 7 May 2012 08:32:25 +0000 (14:02 +0530)
committerSantosh Shilimkar <santosh.shilimkar@ti.com>
Tue, 8 May 2012 06:24:24 +0000 (11:54 +0530)
commitf6d5e079a03a33b4cb747285e61098d3d85010ce
tree91507654cf9cc91eb9c3229a132a0d75bee5f798
parent7d6e11ef30ea61007e6059748e80bb27606281ea
ARM: OMAP2+: dma: Define dma capabilities register bitfields and use them.

The system dma module has capabiities register indicating
the support for descriptor loading, constant fill, etc.
Use this instead of OMAP revision check to identify the features
supported runtime.

This avoids patching the code for feature SOCs which has
those capabilities.

Signed-off-by: R Sricharan <r.sricharan@ti.com>
Signed-off-by: Santosh Shilimkar <santosh.shilimkar@ti.com>
arch/arm/mach-omap2/dma.c
arch/arm/plat-omap/include/plat/dma.h