aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm
diff options
context:
space:
mode:
authorKuninori Morimoto <kuninori.morimoto.gx@renesas.com>2012-06-25 06:37:38 -0400
committerRafael J. Wysocki <rjw@sisk.pl>2012-06-30 09:24:53 -0400
commit95798e350dde44920a021a7e7e720a3be15e8220 (patch)
treefa1c44a0fd1f20f18f6aa16923819f3a989d053b /arch/arm
parentdc7dd5841f714c3bc3f358cb126ba4432947e854 (diff)
ARM: shmobile: armadillo800eva: enable DMAEngine on SDHI
It is possible to reduce CPU load if SDHI used DMAEngine. This patch enabled it. Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com> Acked-by: Magnus Damm <damm@opensource.se> Signed-off-by: Rafael J. Wysocki <rjw@sisk.pl>
Diffstat (limited to 'arch/arm')
-rw-r--r--arch/arm/mach-shmobile/board-armadillo800eva.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/arch/arm/mach-shmobile/board-armadillo800eva.c b/arch/arm/mach-shmobile/board-armadillo800eva.c
index d63e559629b8..f7f9ac51e070 100644
--- a/arch/arm/mach-shmobile/board-armadillo800eva.c
+++ b/arch/arm/mach-shmobile/board-armadillo800eva.c
@@ -543,6 +543,8 @@ static struct platform_device gpio_keys_device = {
543 */ 543 */
544#define IRQ31 evt2irq(0x33E0) 544#define IRQ31 evt2irq(0x33E0)
545static struct sh_mobile_sdhi_info sdhi0_info = { 545static struct sh_mobile_sdhi_info sdhi0_info = {
546 .dma_slave_tx = SHDMA_SLAVE_SDHI0_TX,
547 .dma_slave_rx = SHDMA_SLAVE_SDHI0_RX,
546 .tmio_caps = MMC_CAP_SD_HIGHSPEED | MMC_CAP_SDIO_IRQ |\ 548 .tmio_caps = MMC_CAP_SD_HIGHSPEED | MMC_CAP_SDIO_IRQ |\
547 MMC_CAP_NEEDS_POLL, 549 MMC_CAP_NEEDS_POLL,
548 .tmio_ocr_mask = MMC_VDD_165_195 | MMC_VDD_32_33 | MMC_VDD_33_34, 550 .tmio_ocr_mask = MMC_VDD_165_195 | MMC_VDD_32_33 | MMC_VDD_33_34,
@@ -583,6 +585,8 @@ static struct platform_device sdhi0_device = {
583 585
584/* SDHI1 */ 586/* SDHI1 */
585static struct sh_mobile_sdhi_info sdhi1_info = { 587static struct sh_mobile_sdhi_info sdhi1_info = {
588 .dma_slave_tx = SHDMA_SLAVE_SDHI1_TX,
589 .dma_slave_rx = SHDMA_SLAVE_SDHI1_RX,
586 .tmio_caps = MMC_CAP_SD_HIGHSPEED | MMC_CAP_SDIO_IRQ, 590 .tmio_caps = MMC_CAP_SD_HIGHSPEED | MMC_CAP_SDIO_IRQ,
587 .tmio_ocr_mask = MMC_VDD_165_195 | MMC_VDD_32_33 | MMC_VDD_33_34, 591 .tmio_ocr_mask = MMC_VDD_165_195 | MMC_VDD_32_33 | MMC_VDD_33_34,
588 .tmio_flags = TMIO_MMC_HAS_IDLE_WAIT, 592 .tmio_flags = TMIO_MMC_HAS_IDLE_WAIT,