[PATCH 2/6] Provide names for SBOX register offsets
From: Marc Gonzalez
Date: Wed Nov 23 2016 - 11:55:07 EST
---
drivers/dma/tango-dma.c | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/drivers/dma/tango-dma.c b/drivers/dma/tango-dma.c
index 53f6c7f61599..494b046d1d3d 100644
--- a/drivers/dma/tango-dma.c
+++ b/drivers/dma/tango-dma.c
@@ -38,6 +38,11 @@
#define DMA_MODE_DOUBLE 2
#define DMA_MODE_RECT 3
+#define SBOX_RESET 0
+#define SBOX_RESET2 4
+#define SBOX_ROUTE 8
+#define SBOX_ROUTE2 12
+
struct tangox_dma_sg {
dma_addr_t addr;
unsigned int len;
--
2.9.0