ARM: mach-shmobile: Set CONSISTENT_DMA_SIZE to 158 MB
Magnus Damm
maintainerPATCH 1/1 ARM: mach-shmobile: Set CONSISTENT_DMA_SIZE to 158 MB
From: Magnus Damm <[email protected]>
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 <[email protected]>
---
arch/arm/mach-shmobile/include/mach/memory.h | 3 +++ 1 file changed, 3 insertions(+)
arch/arm/mach-shmobile/include/mach/memory.h +3 -0
@@ -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 */
Quoted 7 lines · Magnus Damm
This patch sets
CONSISTENT_DMA_SIZEto 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 at0xe6000000.Signed-off-by Magnus Damm <[email protected]>
Quoted 3 lines · Magnus Damm
Extend
VMALLOC_ENDto the I/O Window at0xe6000000.Signed-off-by Magnus Damm <[email protected]>
Both applied, thanks.