summaryrefslogtreecommitdiffstats
path: root/include/asm-arm/hardware.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/asm-arm/hardware.h')
-rw-r--r--include/asm-arm/hardware.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/include/asm-arm/hardware.h b/include/asm-arm/hardware.h
index 6b3cbfaba..c21abeed3 100644
--- a/include/asm-arm/hardware.h
+++ b/include/asm-arm/hardware.h
@@ -140,6 +140,11 @@ do { \
#define IOMD_ECTCR __IOMD(0x0C8)
#define IOMD_DMAEXT __IOMD(0x0CC)
+#define DMA_EXT_IO0 1
+#define DMA_EXT_IO1 2
+#define DMA_EXT_IO2 4
+#define DMA_EXT_IO3 8
+
#define IOMD_IO0CURA __IOMD(0x100)
#define IOMD_IO0ENDA __IOMD(0x104)
#define IOMD_IO0CURB __IOMD(0x108)
@@ -195,6 +200,9 @@ do { \
#define IOMD_DMAREQ __IOMD(0x1F4)
#define IOMD_DMAMASK __IOMD(0x1F8)
+#define DMA_END_S (1 << 31)
+#define DMA_END_L (1 << 30)
+
#define DMA_CR_C 0x80
#define DMA_CR_D 0x40
#define DMA_CR_E 0x20