mirror of
https://github.com/FEX-Emu/linux.git
synced 2024-12-27 20:07:09 +00:00
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>
11 lines
260 B
C
11 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 */
|