diff options
author | Valentin Longchamp <valentin.longchamp@epfl.ch> | 2009-05-06 05:54:48 -0400 |
---|---|---|
committer | Sascha Hauer <s.hauer@pengutronix.de> | 2009-05-07 10:21:26 -0400 |
commit | c2e5307b902426247afa48d3f1ed4fa5409dcb49 (patch) | |
tree | 1fc5d846704a356b3d72543a6adc2d3bf0ece4d9 /arch/arm/plat-mxc | |
parent | 9c70e227e00fcc3b210b11c96652ddcc0b6194f3 (diff) |
mx31: changed CONSISTENT_DMA_SIZE to 8M for mx31 video
Signed-off-by: Valentin Longchamp <valentin.longchamp@epfl.ch>
Acked-by: Guennadi Liakhovetski <g.liakhovetski@gmx.de>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'arch/arm/plat-mxc')
-rw-r--r-- | arch/arm/plat-mxc/include/mach/memory.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/arch/arm/plat-mxc/include/mach/memory.h b/arch/arm/plat-mxc/include/mach/memory.h index eca37d09f3f8..6065e00176ed 100644 --- a/arch/arm/plat-mxc/include/mach/memory.h +++ b/arch/arm/plat-mxc/include/mach/memory.h | |||
@@ -32,4 +32,12 @@ | |||
32 | #define CONSISTENT_DMA_SIZE SZ_4M | 32 | #define CONSISTENT_DMA_SIZE SZ_4M |
33 | #endif /* CONFIG_MX1_VIDEO */ | 33 | #endif /* CONFIG_MX1_VIDEO */ |
34 | 34 | ||
35 | #if defined(CONFIG_MX3_VIDEO) | ||
36 | /* | ||
37 | * Increase size of DMA-consistent memory region. | ||
38 | * This is required for mx3 camera driver to capture at least two QXGA frames. | ||
39 | */ | ||
40 | #define CONSISTENT_DMA_SIZE SZ_8M | ||
41 | #endif /* CONFIG_MX3_VIDEO */ | ||
42 | |||
35 | #endif /* __ASM_ARCH_MXC_MEMORY_H__ */ | 43 | #endif /* __ASM_ARCH_MXC_MEMORY_H__ */ |