summaryrefslogtreecommitdiff
path: root/drivers/dma/Kconfig
diff options
context:
space:
mode:
authorVinod Koul <vinod.koul@intel.com>2016-09-02 15:57:09 +0530
committerVinod Koul <vinod.koul@intel.com>2016-09-26 22:31:04 +0530
commit93d05f1ec644c97535159649de7f8e6731841336 (patch)
tree52ec3fe981598464dfd93b94e880203cddc0faa2 /drivers/dma/Kconfig
parentcd3a792a77bc4e72e917efcf9dfc7f33cbb2fda8 (diff)
dmaengine: mmp_tdma: enable COMPILE_TEST
To get more coverage, enable COMPILE_TEST for this driver. While at it, to fix build on other archs, select MMP_SRAM only for ARCH_MMP and also fix the platform header Suggested-by: Arnd Bergmann <arnd@arndb.de> Acked-by: Zhangfei Gao <zhangfei.gao@linaro.org> Signed-off-by: Vinod Koul <vinod.koul@intel.com>
Diffstat (limited to 'drivers/dma/Kconfig')
-rw-r--r--drivers/dma/Kconfig4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/dma/Kconfig b/drivers/dma/Kconfig
index 7674a44f72b0..faf702321350 100644
--- a/drivers/dma/Kconfig
+++ b/drivers/dma/Kconfig
@@ -304,9 +304,9 @@ config MMP_PDMA
config MMP_TDMA
bool "MMP Two-Channel DMA support"
- depends on ARCH_MMP
+ depends on ARCH_MMP || COMPILE_TEST
select DMA_ENGINE
- select MMP_SRAM
+ select MMP_SRAM if ARCH_MMP
help
Support the MMP Two-Channel DMA engine.
This engine used for MMP Audio DMA and pxa910 SQU.