diff options
author | Lucas Stach <dev@lynxeye.de> | 2015-03-05 22:49:58 +0100 |
---|---|---|
committer | Sascha Hauer <s.hauer@pengutronix.de> | 2015-03-06 07:51:51 +0100 |
commit | a0c4e2203fdde7b2636eab3f1406ea66f0e0da19 (patch) | |
tree | f7117216c02aa5cc0627d9377b4bdebad66166f6 /include/dma-dir.h | |
parent | 682b7d849a56d500067ae93a4fdd29a32135d874 (diff) | |
download | barebox-a0c4e2203fdde7b2636eab3f1406ea66f0e0da19.tar.gz barebox-a0c4e2203fdde7b2636eab3f1406ea66f0e0da19.tar.xz |
dma: add streaming DMA ops
This will allow us to implement cache maintenance in a platform
agnostic way.
Signed-off-by: Lucas Stach <dev@lynxeye.de>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'include/dma-dir.h')
-rw-r--r-- | include/dma-dir.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/include/dma-dir.h b/include/dma-dir.h new file mode 100644 index 0000000000..ba107f10ce --- /dev/null +++ b/include/dma-dir.h @@ -0,0 +1,6 @@ +enum dma_data_direction { + DMA_BIDIRECTIONAL = 0, + DMA_TO_DEVICE = 1, + DMA_FROM_DEVICE = 2, + DMA_NONE = 3, +}; |