sdmmc: continue with commit b479d89814a79dc655f82642edb76af2a2236e6f.
authorxbw <xbw@rock-chips.com>
Fri, 10 Aug 2012 05:58:23 +0000 (13:58 +0800)
committerxbw <xbw@rock-chips.com>
Fri, 10 Aug 2012 05:58:23 +0000 (13:58 +0800)
arch/arm/mach-rk30/board-rk30-sdk-sdmmc.c
drivers/mmc/host/Kconfig
drivers/mmc/host/rk29_sdmmc.c

index 928959d0c514ee7156c355951a2a8384e6c4c250..8172697504854f96e93ad95ac673ddc00fed0419 100755 (executable)
@@ -653,7 +653,7 @@ EXPORT_SYMBOL(rk29sdk_wifi_set_carddetect);
 
 
 
-#if 1//defined(CONFIG_WIFI_CONTROL_FUNC)
+#if defined(CONFIG_WIFI_CONTROL_FUNC)
 static struct wifi_platform_data rk29sdk_wifi_control = {
         .set_power = rk29sdk_wifi_power,
         .set_reset = rk29sdk_wifi_reset,
index bb2c399c89b95d72d30567d88e4d7dfdff473471..fabf9737c020be845dca790a7ed58af089f1185e 100755 (executable)
@@ -54,6 +54,16 @@ if SDMMC_RK29
                         You will add the feature of write-protect for sdio-card if you say Yes.
                         Please note that this feature requires hardware support.
                        
+       config  RK29_SDIO_IRQ_FROM_GPIO
+         bool "sdio-irq from gpio"
+         default n
+         depends on SDMMC1_RK29
+         help
+            You will generate sdio interrupt from gpio if you say Yes.
+            Please note that this feature requires hardware support.
+
+
+
 #      config USE_SDMMC1_FOR_WIFI_DEVELOP_BOARD
 #        depends on SDMMC1_RK29
 #              bool "Switch the driver SDMMC1 for the debug of wifi_develop_board."
index 4b92b9ade2ba39e165a46cfdc73ff376cfbfbada..d2d600ab7e536a786435eca5681acd8a965ab4a9 100755 (executable)
@@ -3019,7 +3019,7 @@ static void rk29_sdmmc_tasklet_func(unsigned long priv)
     {
         host->errorstep = 0xf2;
 
-        if(12==host->cmd->opcode)
+        if(0) //(12==host->cmd->opcode)
         {
              printk(KERN_ERR "%d... cmd=%d(arg=0x%x),blksz=%d,blocks=%d,errorStep=0x%x,\n host->state=%x, statusReg=0x%x  [%s]\n",\
                  __LINE__,host->mrq->cmd->opcode, host->mrq->cmd->arg, host->mrq->cmd->data->blksz, host->mrq->cmd->data->blocks,\