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-07-20 13:15:19 +0800
commitc7b31f4d555f8939fd94e60196b477d11f80dcfa (patch)
treeb8353c5f26f7411b9a4ff12bbe5043816a61a065 /drivers/dma
parent6afcc5bbea16cd1a3c468b4bfe8e8c3a925fe2d3 (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 2df7ceb9ab2d..0f67f79a357e 100644
--- a/drivers/dma/Kconfig
+++ b/drivers/dma/Kconfig
@@ -239,7 +239,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