summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorSascha Hauer <s.hauer@pengutronix.de>2015-08-07 11:51:29 +0200
committerSascha Hauer <s.hauer@pengutronix.de>2015-08-07 15:42:55 +0200
commit3c76d02aeb552aea1a61f25114476275b6e04a6b (patch)
tree14b5d8b8c8c0bfaf690911c9d8e61b43041aff2d /include
parent77ac6b4786612d56acb5513831a46276a995ac36 (diff)
downloadbarebox-3c76d02aeb552aea1a61f25114476275b6e04a6b.tar.gz
barebox-3c76d02aeb552aea1a61f25114476275b6e04a6b.tar.xz
implement dma_alloc_writecombine
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'include')
-rw-r--r--include/dma.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/dma.h b/include/dma.h
index 800d8b155f..4d31797968 100644
--- a/include/dma.h
+++ b/include/dma.h
@@ -39,5 +39,6 @@ void dma_sync_single_for_device(unsigned long address, size_t size,
void *dma_alloc_coherent(size_t size, dma_addr_t *dma_handle);
void dma_free_coherent(void *mem, dma_addr_t dma_handle, size_t size);
+void *dma_alloc_writecombine(size_t size, dma_addr_t *dma_handle);
#endif /* __DMA_H */