projects
/
firefly-linux-kernel-4.4.55.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7e47f8b
)
rk: set CONSISTENT_DMA_SIZE to 8M
author
黄涛
<huangtao@rock-chips.com>
Thu, 18 Apr 2013 09:05:22 +0000
(17:05 +0800)
committer
黄涛
<huangtao@rock-chips.com>
Thu, 18 Apr 2013 09:05:37 +0000
(17:05 +0800)
arch/arm/plat-rk/include/plat/memory.h
patch
|
blob
|
history
diff --git
a/arch/arm/plat-rk/include/plat/memory.h
b/arch/arm/plat-rk/include/plat/memory.h
index be59d3bdf400885f0b0fb25ccdbd30515f2c89df..1b55a3902a908195ee3fdbe78c523ae0d7db6766 100644
(file)
--- a/
arch/arm/plat-rk/include/plat/memory.h
+++ b/
arch/arm/plat-rk/include/plat/memory.h
@@
-8,6
+8,8
@@
*/
#define PLAT_PHYS_OFFSET UL(0x60000000)
+#define CONSISTENT_DMA_SIZE SZ_8M
+
#if (LINUX_VERSION_CODE >= KERNEL_VERSION(2, 6, 34))
#define dmac_clean_range(start, end) dmac_map_area(start, end - start, DMA_TO_DEVICE)
#define dmac_inv_range(start, end) dmac_unmap_area(start, end - start, DMA_FROM_DEVICE)