diff options
author | Max Filippov <max.filippov@cogentembedded.com> | 2013-08-25 13:47:26 -0400 |
---|---|---|
committer | Simon Horman <horms+renesas@verge.net.au> | 2013-10-07 21:02:03 -0400 |
commit | e6a8b11b82fdeaa78dad52552f945b772ee1a5c9 (patch) | |
tree | a1d4887c5195705b96623c7bd68567bbd38d5b95 | |
parent | 5d6aa3435275a5308684f90c17424b055ef7f572 (diff) |
ARM: shmobile: marzen: enable DMA for SDHI0
Pass HPB-DMA slave IDs in the SDHI0 platform data to enable DMA in the SDHI
driver.
Signed-off-by: Max Filippov <max.filippov@cogentembedded.com>
[Sergei: removed #include <mach/dma.h>]
Signed-off-by: Sergei Shtylyov <sergei.shtylyov@cogentembedded.com>
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
-rw-r--r-- | arch/arm/mach-shmobile/board-marzen.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/arm/mach-shmobile/board-marzen.c b/arch/arm/mach-shmobile/board-marzen.c index 434b213cc738..da1352f5f71b 100644 --- a/arch/arm/mach-shmobile/board-marzen.c +++ b/arch/arm/mach-shmobile/board-marzen.c | |||
@@ -125,6 +125,8 @@ static struct resource sdhi0_resources[] = { | |||
125 | }; | 125 | }; |
126 | 126 | ||
127 | static struct sh_mobile_sdhi_info sdhi0_platform_data = { | 127 | static struct sh_mobile_sdhi_info sdhi0_platform_data = { |
128 | .dma_slave_tx = HPBDMA_SLAVE_SDHI0_TX, | ||
129 | .dma_slave_rx = HPBDMA_SLAVE_SDHI0_RX, | ||
128 | .tmio_flags = TMIO_MMC_WRPROTECT_DISABLE | TMIO_MMC_HAS_IDLE_WAIT, | 130 | .tmio_flags = TMIO_MMC_WRPROTECT_DISABLE | TMIO_MMC_HAS_IDLE_WAIT, |
129 | .tmio_caps = MMC_CAP_SD_HIGHSPEED, | 131 | .tmio_caps = MMC_CAP_SD_HIGHSPEED, |
130 | }; | 132 | }; |