aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-h720x/include/mach/memory.h
diff options
context:
space:
mode:
authorRussell King <rmk@dyn-67.arm.linux.org.uk>2008-11-29 10:50:22 +0000
committerRussell King <rmk+kernel@arm.linux.org.uk>2008-11-29 10:50:22 +0000
commitb9c78022b0e65cdca2541be658f0e74138e92ffe (patch)
treee23644c81ea8218b6852645a392e68f98c9775b9 /arch/arm/mach-h720x/include/mach/memory.h
parent[ARM] Remove unnecessary mach/hardware.h includes in arch/arm/mm (diff)
downloadlinux-dev-b9c78022b0e65cdca2541be658f0e74138e92ffe.tar.xz
linux-dev-b9c78022b0e65cdca2541be658f0e74138e92ffe.zip
[ARM] move MAX_DMA_ADDRESS to mach/memory.h
Move the definition of MAX_DMA_ADDRESS from mach/dma.h to mach/memory.h, thereby placing it along side its relative, ISA_DMA_THRESHOLD. Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Diffstat (limited to 'arch/arm/mach-h720x/include/mach/memory.h')
-rw-r--r--arch/arm/mach-h720x/include/mach/memory.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/arch/arm/mach-h720x/include/mach/memory.h b/arch/arm/mach-h720x/include/mach/memory.h
index 83a2fa090e88..8cfb665e04b1 100644
--- a/arch/arm/mach-h720x/include/mach/memory.h
+++ b/arch/arm/mach-h720x/include/mach/memory.h
@@ -8,5 +8,14 @@
#define __ASM_ARCH_MEMORY_H
#define PHYS_OFFSET UL(0x40000000)
+/*
+ * This is the maximum DMA address that can be DMAd to.
+ * There should not be more than (0xd0000000 - 0xc0000000)
+ * bytes of RAM.
+ *
+ * If you set this, you must also set ISA_DMA_THRESHOLD and setup a DMA
+ * zone if this does not cover all possible RAM.
+ */
+#define MAX_DMA_ADDRESS 0xd0000000
#endif