Skip to content

Commit

Permalink
ARM: mach-shmobile: Set CONSISTENT_DMA_SIZE to 158 MB
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Magnus Damm authored and Paul Mundt committed May 20, 2010
1 parent 4a539a2 commit 28f0721
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions arch/arm/mach-shmobile/include/mach/memory.h
Original file line number Diff line number Diff line change
Expand Up @@ -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 */

0 comments on commit 28f0721

Please sign in to comment.