rk2928: set sdio max clk: 25Mhz
authorkfx <kfx@rock-chips.com>
Thu, 23 Aug 2012 09:49:07 +0000 (17:49 +0800)
committerkfx <kfx@rock-chips.com>
Thu, 23 Aug 2012 09:49:07 +0000 (17:49 +0800)
drivers/mmc/host/rk29_sdmmc.c

index 10b3a58fa8a62bc27a0722b54e4751acbe0ffff3..98f182524fd5b9cbf919906d0b19cebffb3d5cb6 100755 (executable)
@@ -116,8 +116,11 @@ int debug_level = 5;
 //#define RK29_SDMMC_LIST_QUEUE            /* use list-queue for multi-card*/
 
 #define RK29_SDMMC_DEFAULT_SDIO_FREQ   0 // 1--run in default frequency(50Mhz); 0---run in 25Mhz, 
+#ifdef CONFIG_ARCH_RK2928
+#define RK29_MAX_SDIO_FREQ   25000000    //set max-sdio-frequency 25Mhz at the present time
+#else
 #define RK29_MAX_SDIO_FREQ   45000000    //set max-sdio-frequency 25Mhz at the present time
-
+#endif
 enum {
        EVENT_CMD_COMPLETE = 0,
        EVENT_DATA_COMPLETE,