Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
@@ -11,7 +11,6 @@
#ifndef __ASM_ARCH_DMA_H
#define __ASM_ARCH_DMA_H
-#define MAX_DMA_ADDRESS 0xffffffff
#define MAX_DMA_CHANNELS 0
#endif
@@ -20,8 +20,6 @@
-
#endif /* _ASM_ARCH_DMA_H */
@@ -12,7 +12,6 @@
@@ -9,11 +9,6 @@
-/*
- * This is the maximum DMA address that can be DMAd to.
- */
/*
* The 21285 has two internal DMA channels; we call these 8 and 9.
* On CATS hardware we have an additional eight ISA dma channels
@@ -11,6 +11,4 @@
#ifndef _IOP3XX_DMA_H_P
#define _IOP3XX_DMA_H_P
#endif /* _ASM_ARCH_DMA_H_P */
@@ -10,8 +10,6 @@
/* No DMA */
#define MAX_DMA_CHANNELS 0 /* All DMA is internal to CPU */
@@ -21,7 +21,6 @@
/* Hardware registers for omap1 */
@@ -12,8 +12,6 @@
/* No DMA as the rest of the world see it */
@@ -14,12 +14,6 @@
#include "hardware.h"
* The regular generic DMA interface is inappropriate for the
* SA1100 DMA model. None of the SA1100 specific drivers using
@@ -9,6 +9,13 @@ typedef unsigned int dmach_t;
#include <asm/scatterlist.h>
#include <asm/arch/dma.h>
+/*
+ * This is the maximum virtual address which can be DMA'd from.
+ */
+#ifndef MAX_DMA_ADDRESS
+#define MAX_DMA_ADDRESS 0xffffffff
+#endif
+
* DMA modes
*/