summaryrefslogtreecommitdiffstats
path: root/arch/arm/include/asm
diff options
context:
space:
mode:
authorLucas Stach <dev@lynxeye.de>2015-03-05 22:50:02 +0100
committerSascha Hauer <s.hauer@pengutronix.de>2015-03-06 07:52:02 +0100
commitcdb471b023c19cb55dc0af74284d8c41b5a0aa4f (patch)
treeabbb9e5a8fcb26b507dc69671990c093e4555146 /arch/arm/include/asm
parent381f034ed607042fa171673b6c4d0150745842e8 (diff)
downloadbarebox-cdb471b023c19cb55dc0af74284d8c41b5a0aa4f.tar.gz
barebox-cdb471b023c19cb55dc0af74284d8c41b5a0aa4f.tar.xz
ARM: implement streaming DMA ops
Signed-off-by: Lucas Stach <dev@lynxeye.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'arch/arm/include/asm')
-rw-r--r--arch/arm/include/asm/dma.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/arch/arm/include/asm/dma.h b/arch/arm/include/asm/dma.h
index 48a9c6e67b..d9bce3d70e 100644
--- a/arch/arm/include/asm/dma.h
+++ b/arch/arm/include/asm/dma.h
@@ -28,4 +28,14 @@ static inline void dma_free_coherent(void *mem, dma_addr_t dma_handle,
{
free(mem);
}
+
+static inline void dma_sync_single_for_cpu(unsigned long address, size_t size,
+ enum dma_data_direction dir)
+{
+}
+
+static inline void dma_sync_single_for_device(unsigned long address, size_t size,
+ enum dma_data_direction dir)
+{
+}
#endif