summaryrefslogtreecommitdiff
path: root/arch
diff options
context:
space:
mode:
authorMagnus Damm <damm@opensource.se>2011-05-24 10:40:33 +0000
committerPaul Mundt <lethal@linux-sh.org>2011-05-25 11:36:55 +0900
commit19aec34bd8c7309e39b19ed3bc9b7989d138b043 (patch)
treeec3ed980a3313fe78c3f269665bb235b720b28f0 /arch
parent681e1b3eeb3606e06a7c4984e8058df84296f8bb (diff)
downloadlinux-3.10-19aec34bd8c7309e39b19ed3bc9b7989d138b043.tar.gz
linux-3.10-19aec34bd8c7309e39b19ed3bc9b7989d138b043.tar.bz2
linux-3.10-19aec34bd8c7309e39b19ed3bc9b7989d138b043.zip
ARM: mach-shmobile: Enable DMAEngine for MMCIF on AG5EVM
Simply add MMCIF slave ids for RX and TX to enable DMA Engine support for the AG5EVM board. Signed-off-by: Magnus Damm <damm@opensource.se> Signed-off-by: Paul Mundt <lethal@linux-sh.org>
Diffstat (limited to 'arch')
-rw-r--r--arch/arm/mach-shmobile/board-ag5evm.c9
1 files changed, 9 insertions, 0 deletions
diff --git a/arch/arm/mach-shmobile/board-ag5evm.c b/arch/arm/mach-shmobile/board-ag5evm.c
index 7894cd125f9..52ddc3c45bc 100644
--- a/arch/arm/mach-shmobile/board-ag5evm.c
+++ b/arch/arm/mach-shmobile/board-ag5evm.c
@@ -158,10 +158,19 @@ static struct resource sh_mmcif_resources[] = {
},
};
+static struct sh_mmcif_dma sh_mmcif_dma = {
+ .chan_priv_rx = {
+ .slave_id = SHDMA_SLAVE_MMCIF_RX,
+ },
+ .chan_priv_tx = {
+ .slave_id = SHDMA_SLAVE_MMCIF_TX,
+ },
+};
static struct sh_mmcif_plat_data sh_mmcif_platdata = {
.sup_pclk = 0,
.ocr = MMC_VDD_165_195,
.caps = MMC_CAP_8_BIT_DATA | MMC_CAP_NONREMOVABLE,
+ .dma = &sh_mmcif_dma,
};
static struct platform_device mmc_device = {