diff options
author | Paul Mundt | 2010-11-25 08:45:43 +0100 |
---|---|---|
committer | Paul Mundt | 2010-11-25 08:45:43 +0100 |
commit | 1ad2096c4eba144522d87541c4024b8c84e95051 (patch) | |
tree | a149d469a4da72a7b6e6b777879b740046c4ebc9 /arch/arm/mach-shmobile/board-ap4evb.c | |
parent | Merge branches 'rmobile/ag5' and 'rmobile/fsi-despair' into rmobile-latest (diff) | |
parent | ARM: mach-shmobile: enable MMCIF DMA on ap4evb (diff) | |
download | kernel-qcow2-linux-1ad2096c4eba144522d87541c4024b8c84e95051.tar.gz kernel-qcow2-linux-1ad2096c4eba144522d87541c4024b8c84e95051.tar.xz kernel-qcow2-linux-1ad2096c4eba144522d87541c4024b8c84e95051.zip |
Merge branch 'rmobile/mmcif' into rmobile-latest
Diffstat (limited to 'arch/arm/mach-shmobile/board-ap4evb.c')
-rw-r--r-- | arch/arm/mach-shmobile/board-ap4evb.c | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/arch/arm/mach-shmobile/board-ap4evb.c b/arch/arm/mach-shmobile/board-ap4evb.c index d440e5f456ad..5b079529c948 100644 --- a/arch/arm/mach-shmobile/board-ap4evb.c +++ b/arch/arm/mach-shmobile/board-ap4evb.c @@ -272,6 +272,15 @@ 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_plat = { .sup_pclk = 0, .ocr = MMC_VDD_165_195 | MMC_VDD_32_33 | MMC_VDD_33_34, @@ -279,6 +288,7 @@ static struct sh_mmcif_plat_data sh_mmcif_plat = { MMC_CAP_8_BIT_DATA | MMC_CAP_NEEDS_POLL, .get_cd = slot_cn7_get_cd, + .dma = &sh_mmcif_dma, }; static struct platform_device sh_mmcif_device = { |