diff options
author | Chen Liangjun <b36089@freescale.com> | 2012-03-31 14:25:23 +0800 |
---|---|---|
committer | Chen Liangjun <b36089@freescale.com> | 2012-04-06 19:04:30 +0800 |
commit | 2e366b2e970a627d27d0f4245e536a1baf9ec79a (patch) | |
tree | 498249d52d50887d230b79075203e838585746d1 /arch | |
parent | 2747d79c08cd0ca3c097d0ecb39a15f70c483286 (diff) |
ENGR00177235-2 SDMA: add p2p dma mode
Add code to support p2p dma mode.Add membership in imx_dma_data
struct to support P2P dma script. Because the P2P dma script
need 2 dma request to trigger DMA burst.
Signed-off-by: Chen Liangjun <b36089@freescale.com>
Diffstat (limited to 'arch')
-rw-r--r-- | arch/arm/plat-mxc/include/mach/dma.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/arm/plat-mxc/include/mach/dma.h b/arch/arm/plat-mxc/include/mach/dma.h index ee3b962eeb4d..ba00959c19fa 100644 --- a/arch/arm/plat-mxc/include/mach/dma.h +++ b/arch/arm/plat-mxc/include/mach/dma.h @@ -55,6 +55,7 @@ enum imx_dma_prio { struct imx_dma_data { int dma_request; /* DMA request line */ + int dma_request_p2p; enum sdma_peripheral_type peripheral_type; int priority; }; |