28f0721a79
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>
10 lines
260 B
C
10 lines
260 B
C
#ifndef __ASM_MACH_MEMORY_H
|
|
#define __ASM_MACH_MEMORY_H
|
|
|
|
#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 */
|