diff mbox

ARM: shmobile: armadillo800eva: add DMA support to MMCIF

Message ID Pine.LNX.4.64.1307021717360.1965@axis700.grange (mailing list archive)
State Superseded
Commit 872842084c6f01d5f9d1a4c9b7e39a3d68d0630d
Headers show

Commit Message

Guennadi Liakhovetski July 2, 2013, 3:24 p.m. UTC
Add DMA slave IDs to MMCIF Tx and Rx channels.

Signed-off-by: Guennadi Liakhovetski <g.liakhovetski+renesas@gmail.com>
---

depends on "ARM: shmobile: r8a7740: add MMCIF DMA definitions"
http://www.spinics.net/lists/linux-sh/msg20295.html

 arch/arm/mach-shmobile/board-armadillo800eva.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

Comments

Simon Horman July 3, 2013, 6:05 a.m. UTC | #1
On Tue, Jul 02, 2013 at 05:24:58PM +0200, Guennadi Liakhovetski wrote:
> Add DMA slave IDs to MMCIF Tx and Rx channels.
> 
> Signed-off-by: Guennadi Liakhovetski <g.liakhovetski+renesas@gmail.com>
> ---
> 
> depends on "ARM: shmobile: r8a7740: add MMCIF DMA definitions"
> http://www.spinics.net/lists/linux-sh/msg20295.html
> 
>  arch/arm/mach-shmobile/board-armadillo800eva.c |    2 ++
>  1 files changed, 2 insertions(+), 0 deletions(-)
> 
> diff --git a/arch/arm/mach-shmobile/board-armadillo800eva.c b/arch/arm/mach-shmobile/board-armadillo800eva.c
> index ce1c37f..41ff7d65 100644
> --- a/arch/arm/mach-shmobile/board-armadillo800eva.c
> +++ b/arch/arm/mach-shmobile/board-armadillo800eva.c
> @@ -778,6 +778,8 @@ static struct sh_mmcif_plat_data sh_mmcif_plat = {
>  	.caps		= MMC_CAP_4_BIT_DATA |
>  			  MMC_CAP_8_BIT_DATA |
>  			  MMC_CAP_NONREMOVABLE,
> +	.slave_id_tx	= SHDMA_SLAVE_MMCIF_TX,
> +	.slave_id_rx	= SHDMA_SLAVE_MMCIF_RX,
>  };
>  
>  static struct resource sh_mmcif_resources[] = {

Thanks, I will queue this up for v3.12 in the boards branch.
--
To unsubscribe from this list: send the line "unsubscribe linux-sh" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
diff mbox

Patch

diff --git a/arch/arm/mach-shmobile/board-armadillo800eva.c b/arch/arm/mach-shmobile/board-armadillo800eva.c
index ce1c37f..41ff7d65 100644
--- a/arch/arm/mach-shmobile/board-armadillo800eva.c
+++ b/arch/arm/mach-shmobile/board-armadillo800eva.c
@@ -778,6 +778,8 @@  static struct sh_mmcif_plat_data sh_mmcif_plat = {
 	.caps		= MMC_CAP_4_BIT_DATA |
 			  MMC_CAP_8_BIT_DATA |
 			  MMC_CAP_NONREMOVABLE,
+	.slave_id_tx	= SHDMA_SLAVE_MMCIF_TX,
+	.slave_id_rx	= SHDMA_SLAVE_MMCIF_RX,
 };
 
 static struct resource sh_mmcif_resources[] = {