projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4a539a2
)
ARM: mach-shmobile: Set CONSISTENT_DMA_SIZE to 158 MB
author
Magnus Damm
<damm@opensource.se>
Wed, 28 Apr 2010 08:25:30 +0000
(08:25 +0000)
committer
Paul Mundt
<lethal@linux-sh.org>
Thu, 20 May 2010 03:51:24 +0000
(12:51 +0900)
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>
arch/arm/mach-shmobile/include/mach/memory.h
patch
|
blob
|
history
diff --git
a/arch/arm/mach-shmobile/include/mach/memory.h
b/arch/arm/mach-shmobile/include/mach/memory.h
index e188183f4dcee49ed7e6d5f7e5837d43cea3da00..377584e57e03121777fd0c7a4c723c596b333a4d 100644
(file)
--- a/
arch/arm/mach-shmobile/include/mach/memory.h
+++ b/
arch/arm/mach-shmobile/include/mach/memory.h
@@
-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 */