aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJason Chen <jason.chen@linaro.org>2011-11-28 11:48:17 +0800
committerEric Miao <eric.miao@canonical.com>2011-12-05 16:50:42 +0800
commit24b1108a1ed9db56b680169990ff1deadaaafaf7 (patch)
tree24b0bf0f38c1384223b85ba14886997a8bf0e989
parent8ff445dd2fb277263075ad3ff3bce8b28b07c221 (diff)
downloadlinux-linaro-24b1108a1ed9db56b680169990ff1deadaaafaf7.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 b0ec2868058..e6288f12cba 100644
--- a/arch/arm/mach-imx/mach-imx6q.c
+++ b/arch/arm/mach-imx/mach-imx6q.c
@@ -16,6 +16,7 @@
#include <linux/of.h>
#include <linux/of_irq.h>
#include <linux/of_platform.h>
+#include <asm/dma-mapping.h>
#include <asm/hardware/cache-l2x0.h>
#include <asm/hardware/gic.h>
#include <asm/mach/arch.h>
@@ -35,6 +36,8 @@ static void __init imx6q_map_io(void)
imx_lluart_map_io();
imx_scu_map_io();
imx6q_clock_map_io();
+
+ init_consistent_dma_size(SZ_64MB);
}
static void __init imx6q_gpio_add_irq_domain(struct device_node *np,