Skip to contentSkip to conversation

ARM: mach-shmobile: AG5EVM SDHI1 platform data update

PATCH New Magnus Damm 1 participant 1 message Jun 9, 2011

Subsystems (4)
lore
Share & tools
lore

Magnus Damm

author maintainer
#0 lore raw

PATCH 1/1 ARM: mach-shmobile: AG5EVM SDHI1 platform data update

From: Magnus Damm <[email protected]>

Add a flag for SDHI1 to enable SDIO IRQ, and remove DMA Engine slave id:s to disable DMA as a workaround.

Tested on sh73a0/AG5EVM with a BCM4318-based SDIO card.

---

 arch/arm/mach-shmobile/board-ag5evm.c |    4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)
arch/arm/mach-shmobile/board-ag5evm.c +1 -3
@@ -382,10 +382,8 @@ void ag5evm_sdhi1_set_pwr(struct platfor
 }
 
 static struct sh_mobile_sdhi_info sh_sdhi1_platdata = {
-	.dma_slave_tx	= SHDMA_SLAVE_SDHI1_TX,
-	.dma_slave_rx	= SHDMA_SLAVE_SDHI1_RX,
 	.tmio_flags	= TMIO_MMC_WRPROTECT_DISABLE,
-	.tmio_caps	= MMC_CAP_NONREMOVABLE,
+	.tmio_caps	= MMC_CAP_NONREMOVABLE | MMC_CAP_SDIO_IRQ,
 	.tmio_ocr_mask	= MMC_VDD_32_33 | MMC_VDD_33_34,
 	.set_pwr	= ag5evm_sdhi1_set_pwr,
 };