dmaengine: fsl-edma: add config and makefile changes for mcf-edma
PATCH v2 1/4 dmaengine: fsl-edma: add config and makefile changes for mcf-edma
This patch adds Kconfig and makefile changes to add ColdFire mcf5441x family edma support.
A new fsl-edma-common module has been added, to collect common code to fsl-edma.
Signed-off-by Angelo Dureghello <[email protected]>
---
Changes for v2:
- patch splitted into 4
- add fsl-edma-common
--- drivers/dma/Kconfig | 18 ++++++++++++++++++ drivers/dma/Makefile | 2 ++ 2 files changed, 20 insertions(+)
drivers/dma/Kconfig +18 -0
@@ -220,11 +220,17 @@ config FSL_EDMA depends on OF select DMA_ENGINE select DMA_VIRTUAL_CHANNELS + select FSL_EDMA_COMMON help Support the Freescale eDMA engine with programmable channel multiplexing capability for DMA request sources(slot). This module can be found on Freescale Vybrid and LS-1 SoCs. +config FSL_EDMA_COMMON + bool + depends on FSL_EDMA || MCF_EDMA + default n + config FSL_RAID tristate "Freescale RAID engine Support" depends on FSL_SOC && !ASYNC_TX_ENABLE_CHANNEL_SWITCH
@@ -327,6 +333,18 @@ config LPC18XX_DMAMUX Enable support for DMA on NXP LPC18xx/43xx platforms with PL080 and multiplexed DMA request lines. +config MCF_EDMA + tristate "Freescale eDMA engine support, ColdFire mcf5441x SoCs" + depends on M5441x + select DMA_ENGINE + select DMA_VIRTUAL_CHANNELS + select FSL_EDMA_COMMON + help + Support the Freescale ColdFire eDMA engine, 64-channel + implementation that performs complex data transfers with + minimal intervention from a host processor. + This module can be found on Freescale ColdFire mcf5441x SoCs. + config MMP_PDMA bool "MMP PDMA support" depends on ARCH_MMP || ARCH_PXA || COMPILE_TEST
drivers/dma/Makefile +2 -0
@@ -33,6 +33,8 @@ obj-$(CONFIG_DW_DMAC_CORE) += dw/ obj-$(CONFIG_EP93XX_DMA) += ep93xx_dma.o obj-$(CONFIG_FSL_DMA) += fsldma.o obj-$(CONFIG_FSL_EDMA) += fsl-edma.o +obj-$(CONFIG_FSL_EDMA_COMMON) += fsl-edma-common.o +obj-$(CONFIG_MCF_EDMA) += mcf-edma.o obj-$(CONFIG_FSL_RAID) += fsl_raid.o obj-$(CONFIG_HSU_DMA) += hsu/ obj-$(CONFIG_IMG_MDC_DMA) += img-mdc-dma.o