Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 28f0721a authored by Magnus Damm's avatar Magnus Damm Committed by Paul Mundt
Browse files

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: default avatarMagnus Damm <damm@opensource.se>
Signed-off-by: default avatarPaul Mundt <lethal@linux-sh.org>
parent 4a539a20
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -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 */