summaryrefslogtreecommitdiff
path: root/drivers/dma
diff options
context:
space:
mode:
authorHuang Shijie <b32955@freescale.com>2012-01-31 10:54:39 +0800
committerHuang Shijie <b32955@freescale.com>2012-01-31 13:26:24 +0800
commit8f6bf011b8eacc48b9aef9fca317abee393c03ae (patch)
treecb6110a105d5a27ba1ba00b8a55fc29124b321ee /drivers/dma
parenta9925c757e2fe73f5354c904c8be2eb6e0e630d2 (diff)
ENGR00173369-3 Revert "ENGR00143126-3 ARM: add DMA driver for mx50"
This reverts commit 6257fa54c1c66de2c9f72172895ea7e0e3c0845c. 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.c8
2 files changed, 1 insertions, 9 deletions
diff --git a/drivers/dma/Kconfig b/drivers/dma/Kconfig
index 34385733562d..4c053288032f 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
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 a44c2ba1d6e3..e8d386e13a3d 100644
--- a/drivers/dma/mxs-dma.c
+++ b/drivers/dma/mxs-dma.c
@@ -27,9 +27,6 @@
#include <mach/mxs.h>
#include <mach/dma.h>
#include <mach/common.h>
-#ifdef CONFIG_SOC_IMX50
-#include <mach/system.h>
-#endif
/*
* NOTE: The term "PIO" throughout the mxs-dma implementation means
@@ -585,12 +582,7 @@ static int __init mxs_dma_init(struct mxs_dma_engine *mxs_dma)
if (ret)
goto err_out;
-#if defined(CONFIG_SOC_IMX23) || defined(CONFIG_SOC_IMX28)
ret = mxs_reset_block(mxs_dma->base);
-#elif defined(CONFIG_SOC_IMX50)
- ret = mxs_reset_block(mxs_dma->base, true);
-#endif
-
if (ret)
goto err_out;