[U-Boot] [RFC 2/4] dma: Kconfig: Add CONFIG_PL330_DMA entry

Dinh Nguyen
2016-10-10T15:52:21Z

From: Dinh Nguyen <dinguyen@opensource.altera.com>

Add PL330_DMA entry.

Signed-off-by: Dinh Nguyen <dinguyen@opensource.altera.com>
---
drivers/dma/Kconfig | 4 ++++
drivers/dma/Makefile | 1 +
2 files changed, 5 insertions(+)

diff --git a/drivers/dma/Kconfig b/drivers/dma/Kconfig
index 1b92c77..d95f959 100644
--- a/drivers/dma/Kconfig
+++ b/drivers/dma/Kconfig
@@ -19,4 +19,8 @@ config TI_EDMA3
This driver support data transfer between memory
regions.

+config PL330_DMA
+ bool "PL330 DMA driver"
+ help
+ Enable the ARM PL330 DMA driver.
endmenu # menu "DMA Support"
diff --git a/drivers/dma/Makefile b/drivers/dma/Makefile
index 39b78b2..d287512 100644
--- a/drivers/dma/Makefile
+++ b/drivers/dma/Makefile
@@ -13,3 +13,4 @@ obj-$(CONFIG_FSL_DMA) += fsl_dma.o
obj-$(CONFIG_TI_KSNAV) += keystone_nav.o keystone_nav_cfg.o
obj-$(CONFIG_TI_EDMA3) += ti-edma3.o
obj-$(CONFIG_DMA_LPC32XX) += lpc32xx_dma.o
+obj-$(CONFIG_PL330_DMA) += pl330.o
--
2.8.3