diff options
author | Vignesh R <vigneshr@ti.com> | 2015-08-17 13:29:55 +0530 |
---|---|---|
committer | Jagan Teki <jteki@openedev.com> | 2015-08-17 23:29:15 +0530 |
commit | 664ab2c992d1e06c4381f66c93d2e155fc7722e1 (patch) | |
tree | 7efb2899d92ddfdc5fd43a7b76d3eb662e1ccf7f /arch/arm | |
parent | 146bad96191753f1918bfa4dca75d20e03fc63b2 (diff) | |
download | u-boot-imx-664ab2c992d1e06c4381f66c93d2e155fc7722e1.zip u-boot-imx-664ab2c992d1e06c4381f66c93d2e155fc7722e1.tar.gz u-boot-imx-664ab2c992d1e06c4381f66c93d2e155fc7722e1.tar.bz2 |
dma: ti-edma3: Add helper function to support edma3 transfer
Signed-off-by: Vignesh R <vigneshr@ti.com>
Reviewed-by: Jagan Teki <jteki@openedev.com>
Diffstat (limited to 'arch/arm')
-rw-r--r-- | arch/arm/include/asm/ti-common/ti-edma3.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/arm/include/asm/ti-common/ti-edma3.h b/arch/arm/include/asm/ti-common/ti-edma3.h index 5adc1da..6a7a321 100644 --- a/arch/arm/include/asm/ti-common/ti-edma3.h +++ b/arch/arm/include/asm/ti-common/ti-edma3.h @@ -117,5 +117,7 @@ void edma3_set_src_addr(u32 base, int slot, u32 src); void edma3_set_transfer_params(u32 base, int slot, int acnt, int bcnt, int ccnt, u16 bcnt_rld, enum edma3_sync_dimension sync_mode); +void edma3_transfer(unsigned long edma3_base_addr, unsigned int + edma_slot_num, void *dst, void *src, size_t len); #endif |