summaryrefslogtreecommitdiffstats
path: root/drivers/dma
diff options
context:
space:
mode:
authorFabio Estevam <fabio.estevam@nxp.com>2017-06-09 00:46:23 +0200
committerVinod Koul <vinod.koul@intel.com>2017-06-15 06:18:42 +0200
commitd762e4f35601239cbebfbfd43d99876d8f220927 (patch)
tree2e3a3a2ef8333b7c4c0886e8347912811d35a23a /drivers/dma
parentdmaengine: mxs: Use %zu for printing a size_t variable (diff)
downloadlinux-d762e4f35601239cbebfbfd43d99876d8f220927.tar.xz
linux-d762e4f35601239cbebfbfd43d99876d8f220927.zip
dmaengine: Kconfig: Extend the dependency for MXS_DMA
Currently it is not possible to select the mxs dma driver when only mx6sx or mx7 are selected. Extend the dependency to allow the mxs dma driver to be built whenever ARCH_MXS or ARCH_MXC is selected. This has the benefit to avoid having to add new entries in the MXS_DMA Kconfig everytime a new i.MX SoC shows up and it also makes it consistent with the other i.MX DMA engines, such as IMX_DMA and IMX_SDMA. While at it, also pass COMPILE_TEST for increasing the build coverage. Acked-by: Stefan Agner <stefan@agner.ch> Signed-off-by: Fabio Estevam <fabio.estevam@nxp.com> Signed-off-by: Vinod Koul <vinod.koul@intel.com>
Diffstat (limited to 'drivers/dma')
-rw-r--r--drivers/dma/Kconfig2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/dma/Kconfig b/drivers/dma/Kconfig
index 24e8597b2c3e..af08799a1f6d 100644
--- a/drivers/dma/Kconfig
+++ b/drivers/dma/Kconfig
@@ -354,7 +354,7 @@ config MV_XOR_V2
config MXS_DMA
bool "MXS DMA support"
- depends on SOC_IMX23 || SOC_IMX28 || SOC_IMX6Q || SOC_IMX6UL
+ depends on ARCH_MXS || ARCH_MXC || COMPILE_TEST
select STMP_DEVICE
select DMA_ENGINE
help