summaryrefslogtreecommitdiff
path: root/arch/arm/mach-shmobile/include/mach/memory.h
diff options
context:
space:
mode:
authorMagnus Damm <damm@opensource.se>2010-04-28 08:25:30 +0000
committerPaul Mundt <lethal@linux-sh.org>2010-05-20 12:51:24 +0900
commit28f0721a79046056ced3b9bd79c319c5c417ec30 (patch)
tree8ae6e93aee0fec2a7b08c3775ada1aa971a4ebb2 /arch/arm/mach-shmobile/include/mach/memory.h
parent4a539a2023fd2f7384916ef6e7777ad234a00dcd (diff)
ARM: mach-shmobile: Set CONSISTENT_DMA_SIZE to 158 MB
This patch sets CONSISTENT_DMA_SIZE to 158 MB for all SH-Mobile ARM processors. The DMA area is mapped at 0xf6000000 - 0xffdfffff, on top of the 256 MB I/O window at 0xe6000000. Signed-off-by: Magnus Damm <damm@opensource.se> Signed-off-by: Paul Mundt <lethal@linux-sh.org>
Diffstat (limited to 'arch/arm/mach-shmobile/include/mach/memory.h')
-rw-r--r--arch/arm/mach-shmobile/include/mach/memory.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/arch/arm/mach-shmobile/include/mach/memory.h b/arch/arm/mach-shmobile/include/mach/memory.h
index e188183f4dce..377584e57e03 100644
--- a/arch/arm/mach-shmobile/include/mach/memory.h
+++ b/arch/arm/mach-shmobile/include/mach/memory.h
@@ -4,4 +4,7 @@
#define PHYS_OFFSET UL(CONFIG_MEMORY_START)
#define MEM_SIZE UL(CONFIG_MEMORY_SIZE)
+/* DMA memory at 0xf6000000 - 0xffdfffff */
+#define CONSISTENT_DMA_SIZE (158 << 20)
+
#endif /* __ASM_MACH_MEMORY_H */