aboutsummaryrefslogtreecommitdiff
path: root/drivers/dma
diff options
context:
space:
mode:
authorSimon Glass2021-08-08 12:20:19 -0600
committerTom Rini2021-09-04 12:26:02 -0400
commit70edba0784770a54e589058982ac2325d4284e99 (patch)
treeec2bef59279c40390bea53d77a7e1381981674db /drivers/dma
parent807cc640ed238feed61bdc920cec2394c0e6d6de (diff)
dma: Add a Kconfig for legacy DMA
We cannot use the existing DMA config for the MCD driver because it is not migrated to driver model. In order to move it to drivers/Makefile we need some sort of option for it. Add a new DMA_LEGACY option, which also acts as a signal that it should be migrated. Enable this for devkit3250 which uses CONFIG_DMA_LPC32XX which is not converted to Kconfig. For now this is not used in the Makefile. That update happens in a following patch. Signed-off-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'drivers/dma')
-rw-r--r--drivers/dma/Kconfig10
1 files changed, 10 insertions, 0 deletions
diff --git a/drivers/dma/Kconfig b/drivers/dma/Kconfig
index 1993c1d31df..e81ae96673c 100644
--- a/drivers/dma/Kconfig
+++ b/drivers/dma/Kconfig
@@ -37,6 +37,7 @@ config BCM6348_IUDMA
config TI_EDMA3
bool "TI EDMA3 driver"
+ select DMA_LEGACY
help
Enable the TI EDMA3 driver for DRA7xx and AM43xx evms.
This driver support data transfer between memory
@@ -57,6 +58,15 @@ config APBH_DMA_BURST8
endif
+config DMA_LEGACY
+ bool "Legacy DMA support"
+ default y if FSLDMAFEC
+ help
+ Enable legacy DMA support. This does not use driver model and should
+ be migrated to the new API.
+
+ It is required for some PowerPC boards.
+
source "drivers/dma/ti/Kconfig"
endmenu # menu "DMA Support"