summaryrefslogtreecommitdiff
path: root/drivers/dma
diff options
context:
space:
mode:
authorHuang Shijie <b32955@freescale.com>2012-01-31 10:54:39 +0800
committerJason Liu <r64343@freescale.com>2012-07-20 13:20:27 +0800
commit40cdcb2163321a9a6c9e6ad80581dc98f85ccfae (patch)
treef9bbf8fe5be3144fd96f33f16a7ac4741fd87f34 /drivers/dma
parent1daabd7de3caab398b589900ed8bc657bbc96090 (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 2df7ceb9ab2d..30edc361752d 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
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;