summaryrefslogtreecommitdiff
path: root/drivers/dma
diff options
context:
space:
mode:
authorHuang Shijie <b32955@freescale.com>2011-07-22 10:30:22 +0800
committerJason Liu <r64343@freescale.com>2012-01-09 20:21:55 +0800
commitab11e98c15ecb29eaf93114cb928478c98d637e9 (patch)
treedc7b56fab626252d355111374035f352a6b5c8c4 /drivers/dma
parentfa3ea7bf62ac8df17dd76ec9c546149efe8f98df (diff)
ENGR00139247-6 DMA : add DMA support for imx6q
add the dma support for imx6q. Signed-off-by: Huang Shijie <b32955@freescale.com>
Diffstat (limited to 'drivers/dma')
-rw-r--r--drivers/dma/Kconfig2
-rw-r--r--drivers/dma/mxs-dma.c4
2 files changed, 3 insertions, 3 deletions
diff --git a/drivers/dma/Kconfig b/drivers/dma/Kconfig
index 34385733562d..4716c736045b 100644
--- a/drivers/dma/Kconfig
+++ b/drivers/dma/Kconfig
@@ -240,7 +240,7 @@ config IMX_DMA
config MXS_DMA
bool "MXS DMA support"
- depends on SOC_IMX23 || SOC_IMX28 || SOC_IMX50
+ depends on SOC_IMX23 || SOC_IMX28 || SOC_IMX50 || SOC_IMX6Q
select DMA_ENGINE
help
Support the MXS DMA engine. This engine including APBH-DMA
diff --git a/drivers/dma/mxs-dma.c b/drivers/dma/mxs-dma.c
index c912fc6f80da..d7b2ab9802bd 100644
--- a/drivers/dma/mxs-dma.c
+++ b/drivers/dma/mxs-dma.c
@@ -27,7 +27,7 @@
#include <mach/mxs.h>
#include <mach/dma.h>
#include <mach/common.h>
-#ifdef CONFIG_SOC_IMX50
+#if defined(CONFIG_SOC_IMX50) || defined(CONFIG_SOC_IMX6Q)
#include <mach/system.h>
#endif
@@ -581,7 +581,7 @@ static int __init mxs_dma_init(struct mxs_dma_engine *mxs_dma)
#if defined(CONFIG_SOC_IMX23) || defined(CONFIG_SOC_IMX28)
ret = mxs_reset_block(mxs_dma->base);
-#elif defined(CONFIG_SOC_IMX50)
+#elif defined(CONFIG_SOC_IMX50) || defined(CONFIG_SOC_IMX6Q)
ret = mxs_reset_block(mxs_dma->base, true);
#endif