瀏覽代碼

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>
Magnus Damm 15 年之前
父節點
當前提交
28f0721a79
共有 1 個文件被更改,包括 3 次插入0 次删除
  1. 3 0
      arch/arm/mach-shmobile/include/mach/memory.h

+ 3 - 0
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 */