[PATCH 7/7] dmaengine: mmp_tdma: Remove the MMP_SRAM dependency

From: Lubomir Rintel
Date: Sun Apr 19 2020 - 12:49:40 EST


A generic SRAM will driver for Device Tree enabled platforms will do as
well.

The non-DT drivers that use mmp_tdma to transfer audio samples to and from
the audio SRAM should depend on MMP_SRAM themselves.

Signed-off-by: Lubomir Rintel <lkundrak@xxxxx>
---
drivers/dma/Kconfig | 2 --
1 file changed, 2 deletions(-)

diff --git a/drivers/dma/Kconfig b/drivers/dma/Kconfig
index 0924836443152..bd0b6abd32fd3 100644
--- a/drivers/dma/Kconfig
+++ b/drivers/dma/Kconfig
@@ -394,12 +394,10 @@ config MMP_TDMA
bool "MMP Two-Channel DMA support"
depends on ARCH_MMP || COMPILE_TEST
select DMA_ENGINE
- select MMP_SRAM if ARCH_MMP
select GENERIC_ALLOCATOR
help
Support the MMP Two-Channel DMA engine.
This engine used for MMP Audio DMA and pxa910 SQU.
- It needs sram driver under mach-mmp.

config MOXART_DMA
tristate "MOXART DMA support"
--
2.26.0