dma: sh: add Kconfig
This patch adds Kconfig in the drivers/dma/sh. This patch also adds a new config "SH_DMAE_BASE" and the "config SH_DMAE" depends on it. Since some drivers (e.g. sh_mmcif.c) depends on shdma-base.c if CONFIG_DMA_ENGINE=y, the "config SH_DMAE_BASE" is set as "bool". Signed-off-by: Yoshihiro Shimoda <yoshihiro.shimoda.uh@renesas.com> Acked-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com> Signed-off-by: Vinod Koul <vinod.koul@intel.com>
This commit is contained in:

committed by
Vinod Koul

父節點
bbe89c8e3d
當前提交
189b4ee8e9
18
drivers/dma/sh/Kconfig
Normal file
18
drivers/dma/sh/Kconfig
Normal file
@@ -0,0 +1,18 @@
|
||||
#
|
||||
# DMA engine configuration for sh
|
||||
#
|
||||
|
||||
config SH_DMAE_BASE
|
||||
bool "Renesas SuperH DMA Engine support"
|
||||
depends on (SUPERH && SH_DMA) || (ARM && ARCH_SHMOBILE)
|
||||
depends on !SH_DMA_API
|
||||
default y
|
||||
select DMA_ENGINE
|
||||
help
|
||||
Enable support for the Renesas SuperH DMA controllers.
|
||||
|
||||
config SH_DMAE
|
||||
tristate "Renesas SuperH DMAC support"
|
||||
depends on SH_DMAE_BASE
|
||||
help
|
||||
Enable support for the Renesas SuperH DMA controllers.
|
@@ -1,2 +1,2 @@
|
||||
obj-$(CONFIG_SH_DMAE) += shdma-base.o
|
||||
obj-$(CONFIG_SH_DMAE_BASE) += shdma-base.o
|
||||
obj-$(CONFIG_SH_DMAE) += shdma.o
|
||||
|
Reference in New Issue
Block a user