aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJason Chen <b02280@freescale.com>2011-08-30 16:07:15 +0800
committerEric Miao <eric.miao@linaro.org>2011-10-14 09:56:56 +0800
commit12ee44e1cb63a18ad6c5c646dda19f81b8a59fc2 (patch)
treefd657faf5f9f30b5ba290f729dab4127acc3df3f
parentf8c841614e97c0baf8737b6c5f0e87f184a3e67d (diff)
downloadlinux-linaro-12ee44e1cb63a18ad6c5c646dda19f81b8a59fc2.tar.gz
mx5: set CONSISTENT_DMA_SIZE to 128M for mx5
Signed-off-by: Jason Chen <b02280@freescale.com>
-rw-r--r--arch/arm/plat-mxc/include/mach/memory.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/arch/arm/plat-mxc/include/mach/memory.h b/arch/arm/plat-mxc/include/mach/memory.h
index 11be5cdbdd1..107d7b47e3d 100644
--- a/arch/arm/plat-mxc/include/mach/memory.h
+++ b/arch/arm/plat-mxc/include/mach/memory.h
@@ -55,4 +55,10 @@
#define CONSISTENT_DMA_SIZE SZ_4M
#endif /* CONFIG_MX1_VIDEO || CONFIG_VIDEO_MX2_HOSTSUPPORT */
+#ifdef CONFIG_ARCH_MX5
+#define CONSISTENT_DMA_SIZE (128 * SZ_1M)
+#else
+#define CONSISTENT_DMA_SIZE (32 * SZ_1M)
+#endif
+
#endif /* __ASM_ARCH_MXC_MEMORY_H__ */