aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJason Chen <jason.chen@linaro.org>2011-11-28 11:48:17 +0800
committerEric Miao <eric.miao@linaro.org>2012-01-11 21:39:05 +0800
commit29f41b992de42841d79a3617e86b0b0edb5f42b6 (patch)
tree7de37277dd96d0f654aa9edc3d1246c0dc953ec4
parenteb422cf546b00683c4cf209ee135f5c99bf76fa4 (diff)
downloadlinux-linaro-29f41b992de42841d79a3617e86b0b0edb5f42b6.tar.gz
imx6q-sabrelite: change DEFAULT_CONSISTENT_DMA_SIZE to 64M
Signed-off-by: Jason Chen <jason.chen@linaro.org>
-rw-r--r--arch/arm/mach-imx/mach-imx6q.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/arch/arm/mach-imx/mach-imx6q.c b/arch/arm/mach-imx/mach-imx6q.c
index e026dd17594..44587dea2cc 100644
--- a/arch/arm/mach-imx/mach-imx6q.c
+++ b/arch/arm/mach-imx/mach-imx6q.c
@@ -19,6 +19,7 @@
#include <linux/of_platform.h>
#include <linux/phy.h>
#include <linux/micrel_phy.h>
+#include <linux/dma-mapping.h>
#include <asm/hardware/cache-l2x0.h>
#include <asm/hardware/gic.h>
#include <asm/mach/map.h>
@@ -121,6 +122,8 @@ static void __init imx6q_map_io(void)
imx_scu_map_io();
imx6q_clock_map_io();
imx6q_iomux_map_io();
+
+ init_consistent_dma_size(SZ_64M);
}
static int __init imx6q_gpio_add_irq_domain(struct device_node *np,