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 18:01:45 +0800
commit56a2259a996fec5fd7e451b69a443f335dc28f15 (patch)
tree1d6c300cde33d09d5267f4f9a2b2859e4e72cb37
parent8ff445dd2fb277263075ad3ff3bce8b28b07c221 (diff)
downloadlinux-linaro-56a2259a996fec5fd7e451b69a443f335dc28f15.tar.gz
imx6q-sabrelite: set consistent DMA buffer 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..240fad03927 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 <linux/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_64M);
}
static void __init imx6q_gpio_add_irq_domain(struct device_node *np,