summaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-shmobile/board-bockw.c
diff options
context:
space:
mode:
authorMax Filippov <max.filippov@cogentembedded.com>2013-08-24 23:36:38 +0200
committerSimon Horman <horms+renesas@verge.net.au>2013-10-08 03:02:02 +0200
commit5d6aa3435275a5308684f90c17424b055ef7f572 (patch)
tree3ac130078e893a742baa3de895d3cfd37cdca20d /arch/arm/mach-shmobile/board-bockw.c
parentARM: shmobile: ape6evm: add DMA support to MMCIF (diff)
downloadlinux-5d6aa3435275a5308684f90c17424b055ef7f572.tar.xz
linux-5d6aa3435275a5308684f90c17424b055ef7f572.zip
ARM: shmobile: bockw: 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>
Diffstat (limited to 'arch/arm/mach-shmobile/board-bockw.c')
-rw-r--r--arch/arm/mach-shmobile/board-bockw.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/arm/mach-shmobile/board-bockw.c b/arch/arm/mach-shmobile/board-bockw.c
index 330e84c14f8e..421cf1c229dc 100644
--- a/arch/arm/mach-shmobile/board-bockw.c
+++ b/arch/arm/mach-shmobile/board-bockw.c
@@ -196,6 +196,8 @@ static struct rcar_phy_platform_data usb_phy_platform_data __initdata =
/* SDHI */
static struct sh_mobile_sdhi_info sdhi0_info __initdata = {
+ .dma_slave_tx = HPBDMA_SLAVE_SDHI0_TX,
+ .dma_slave_rx = HPBDMA_SLAVE_SDHI0_RX,
.tmio_caps = MMC_CAP_SD_HIGHSPEED,
.tmio_ocr_mask = MMC_VDD_165_195 | MMC_VDD_32_33 | MMC_VDD_33_34,
.tmio_flags = TMIO_MMC_HAS_IDLE_WAIT,