Convert CONFIG_APBH_DMA et al to Kconfig
This converts the following to Kconfig:
CONFIG_APBH_DMA
CONFIG_APBH_DMA_BURST
CONFIG_APBH_DMA_BURST8
Signed-off-by: Adam Ford <aford173@gmail.com>
Reviewed-by: Stefan Agner <stefan.agner@toradex.com>
[trini: Add in MMC as well]
Signed-off-by: Tom Rini <trini@konsulko.com>
diff --git a/drivers/dma/Kconfig b/drivers/dma/Kconfig
index 1b92c77..4ee6afa 100644
--- a/drivers/dma/Kconfig
+++ b/drivers/dma/Kconfig
@@ -19,4 +19,19 @@
This driver support data transfer between memory
regions.
+config APBH_DMA
+ bool "Support APBH DMA"
+ depends on MX23 || MX28 || MX6 || MX7
+ help
+ Enable APBH DMA driver.
+
+if APBH_DMA
+config APBH_DMA_BURST
+ bool "Enable DMA BURST"
+
+config APBH_DMA_BURST8
+ bool "Enable DMA BURST8"
+
+endif
+
endmenu # menu "DMA Support"