diff options
author | Zeng Zhaoming <b32542@freescale.com> | 2011-07-12 06:01:02 +0800 |
---|---|---|
committer | Zeng Zhaoming <b32542@freescale.com> | 2011-07-19 03:43:25 +0800 |
commit | 29b043e451370314f38c16bebf10bd9a3baac839 (patch) | |
tree | bc0325ebfd773232828a7d4f2e22126a97f5cb3e /drivers | |
parent | b59bc3219f6726119226b42f76b16fed54e27a1b (diff) |
ENGR00152287-2 SDMA: Add SDMA support for MX6Q
Add sdma support for mx6q.
add mx6 dependency for sdma, and add sdma mx6 firmware.
Note: firmware not release by owner, this version only for test.
Signed-off-by: Zeng Zhaoming <b32542@freescale.com>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/dma/Kconfig | 4 | ||||
-rw-r--r-- | drivers/dma/imx-sdma.c | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/drivers/dma/Kconfig b/drivers/dma/Kconfig index d79b9fdc44a8..4cd9ae83c863 100644 --- a/drivers/dma/Kconfig +++ b/drivers/dma/Kconfig @@ -222,11 +222,11 @@ config PCH_DMA config IMX_SDMA tristate "i.MX SDMA support" - depends on ARCH_MX25 || ARCH_MX3 || ARCH_MX5 + depends on ARCH_MX25 || ARCH_MX3 || ARCH_MX5 || ARCH_MX6 select DMA_ENGINE help Support the i.MX SDMA engine. This engine is integrated into - Freescale i.MX25/31/35/51 chips. + Freescale i.MX25/31/35/51/6x chips. config IMX_DMA tristate "i.MX DMA support" diff --git a/drivers/dma/imx-sdma.c b/drivers/dma/imx-sdma.c index e11d754a8c8a..0ed6c6e99ff4 100644 --- a/drivers/dma/imx-sdma.c +++ b/drivers/dma/imx-sdma.c @@ -7,7 +7,7 @@ * * Based on code from Freescale: * - * Copyright 2004-2011 Freescale Semiconductor, Inc. All Rights Reserved. + * Copyright 2004-2011 Freescale Semiconductor, Inc. * * The code contained herein is licensed under the GNU General Public * License. You may obtain a copy of the GNU General Public License @@ -794,7 +794,7 @@ static dma_cookie_t sdma_tx_submit(struct dma_async_tx_descriptor *tx) struct sdma_channel *sdmac = to_sdma_chan(tx->chan); struct sdma_engine *sdma = sdmac->sdma; dma_cookie_t cookie; - int flag; + unsigned long flag; spin_lock_irqsave(&sdmac->lock, flag); |