summaryrefslogtreecommitdiff
path: root/linux/arch/arm/plat-mxc/include/mach/memory.h
diff options
context:
space:
mode:
Diffstat (limited to 'linux/arch/arm/plat-mxc/include/mach/memory.h')
-rw-r--r--linux/arch/arm/plat-mxc/include/mach/memory.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/linux/arch/arm/plat-mxc/include/mach/memory.h b/linux/arch/arm/plat-mxc/include/mach/memory.h
index cee836dfc..33bed2326 100644
--- a/linux/arch/arm/plat-mxc/include/mach/memory.h
+++ b/linux/arch/arm/plat-mxc/include/mach/memory.h
@@ -25,4 +25,12 @@
#define CONSISTENT_DMA_SIZE SZ_8M
#endif
+#if defined(CONFIG_MX1_VIDEO)
+/*
+ * Increase size of DMA-consistent memory region.
+ * This is required for i.MX camera driver to capture at least four VGA frames.
+ */
+#define CONSISTENT_DMA_SIZE SZ_4M
+#endif /* CONFIG_MX1_VIDEO */
+
#endif /* __ASM_ARCH_MXC_MEMORY_H__ */