Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 187553
b: refs/heads/master
c: 8e3a6e7
h: refs/heads/master
i:
  187551: c7a7782
v: v3
  • Loading branch information
Uwe Kleine-König committed Feb 24, 2010
1 parent c7b326d commit 4d78e3f
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 9 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: abf61632884ae6bfd1e7b967d5254fa7b5191e7b
refs/heads/master: 8e3a6e7fa739d021324d813cd6fdd1c5c7998774
15 changes: 7 additions & 8 deletions trunk/arch/arm/plat-mxc/include/mach/memory.h
Original file line number Diff line number Diff line change
Expand Up @@ -34,20 +34,19 @@
# endif
#endif

#if defined(CONFIG_MX1_VIDEO)
#if defined(CONFIG_MX3_VIDEO)
/*
* Increase size of DMA-consistent memory region.
* This is required for i.MX camera driver to capture at least four VGA frames.
* This is required for mx3 camera driver to capture at least two QXGA frames.
*/
#define CONSISTENT_DMA_SIZE SZ_4M
#endif /* CONFIG_MX1_VIDEO */
#define CONSISTENT_DMA_SIZE SZ_8M

#if defined(CONFIG_MX3_VIDEO)
#elif defined(CONFIG_MX1_VIDEO)
/*
* Increase size of DMA-consistent memory region.
* This is required for mx3 camera driver to capture at least two QXGA frames.
* This is required for i.MX camera driver to capture at least four VGA frames.
*/
#define CONSISTENT_DMA_SIZE SZ_8M
#endif /* CONFIG_MX3_VIDEO */
#define CONSISTENT_DMA_SIZE SZ_4M
#endif /* CONFIG_MX1_VIDEO */

#endif /* __ASM_ARCH_MXC_MEMORY_H__ */

0 comments on commit 4d78e3f

Please sign in to comment.