ARM: mach-shmobile: Set CONSISTENT_DMA_SIZE to 158 MB
authorMagnus Damm <damm@opensource.se>
Wed, 28 Apr 2010 08:25:30 +0000 (08:25 +0000)
committerPaul Mundt <lethal@linux-sh.org>
Thu, 20 May 2010 03:51:24 +0000 (12:51 +0900)
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>
arch/arm/mach-shmobile/include/mach/memory.h

index e188183f4dcee49ed7e6d5f7e5837d43cea3da00..377584e57e03121777fd0c7a4c723c596b333a4d 100644 (file)
@@ -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 */
This page took 0.025054 seconds and 5 git commands to generate.