aboutsummaryrefslogtreecommitdiff
path: root/arch/arm/include/asm/ti-common
diff options
context:
space:
mode:
authorTero Kristo <t-kristo@ti.com>2017-12-29 11:47:46 +0530
committerTom Rini <trini@konsulko.com>2018-01-19 15:49:25 -0500
commit72b7af5a04afc22913e943decc1733a25b8eefcf (patch)
tree94fa937f7d9e32ec0f223810a9ed64ee7a43d83a /arch/arm/include/asm/ti-common
parent445277b9d1efcc239c8c05560e4db312ea4f078e (diff)
downloadu-boot-72b7af5a04afc22913e943decc1733a25b8eefcf.zip
u-boot-72b7af5a04afc22913e943decc1733a25b8eefcf.tar.gz
u-boot-72b7af5a04afc22913e943decc1733a25b8eefcf.tar.bz2
drivers: dma: ti-edma3: add support for memory fill
Add support for simple memory fill operation. With large data sizes it is much faster to use EDMA for memory fill rather than CPU. Signed-off-by: Tero Kristo <t-kristo@ti.com>
Diffstat (limited to 'arch/arm/include/asm/ti-common')
-rw-r--r--arch/arm/include/asm/ti-common/ti-edma3.h2
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 6a7a321..3f41d34 100644
--- a/arch/arm/include/asm/ti-common/ti-edma3.h
+++ b/arch/arm/include/asm/ti-common/ti-edma3.h
@@ -119,5 +119,7 @@ void edma3_set_transfer_params(u32 base, int slot, int acnt,
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);
+void edma3_fill(unsigned long edma3_base_addr, unsigned int edma_slot_num,
+ void *dst, u8 val, size_t len);
#endif