-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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>
- Loading branch information
Shimoda, Yoshihiro
authored and
Vinod Koul
committed
Apr 30, 2013
1 parent
bbe89c8
commit 189b4ee
Showing
4 changed files
with
21 additions
and
11 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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 |