diff options
author | Magnus Damm <damm@opensource.se> | 2011-05-24 06:40:33 -0400 |
---|---|---|
committer | Paul Mundt <lethal@linux-sh.org> | 2011-05-24 22:36:55 -0400 |
commit | 19aec34bd8c7309e39b19ed3bc9b7989d138b043 (patch) | |
tree | ec3ed980a3313fe78c3f269665bb235b720b28f0 | |
parent | 681e1b3eeb3606e06a7c4984e8058df84296f8bb (diff) |
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>
-rw-r--r-- | arch/arm/mach-shmobile/board-ag5evm.c | 9 |
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 7894cd125f94..52ddc3c45bc9 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[] = { | |||
158 | }, | 158 | }, |
159 | }; | 159 | }; |
160 | 160 | ||
161 | static struct sh_mmcif_dma sh_mmcif_dma = { | ||
162 | .chan_priv_rx = { | ||
163 | .slave_id = SHDMA_SLAVE_MMCIF_RX, | ||
164 | }, | ||
165 | .chan_priv_tx = { | ||
166 | .slave_id = SHDMA_SLAVE_MMCIF_TX, | ||
167 | }, | ||
168 | }; | ||
161 | static struct sh_mmcif_plat_data sh_mmcif_platdata = { | 169 | static struct sh_mmcif_plat_data sh_mmcif_platdata = { |
162 | .sup_pclk = 0, | 170 | .sup_pclk = 0, |
163 | .ocr = MMC_VDD_165_195, | 171 | .ocr = MMC_VDD_165_195, |
164 | .caps = MMC_CAP_8_BIT_DATA | MMC_CAP_NONREMOVABLE, | 172 | .caps = MMC_CAP_8_BIT_DATA | MMC_CAP_NONREMOVABLE, |
173 | .dma = &sh_mmcif_dma, | ||
165 | }; | 174 | }; |
166 | 175 | ||
167 | static struct platform_device mmc_device = { | 176 | static struct platform_device mmc_device = { |