rk2928_phone_pad:add sd card support
authorhzf <root@hzf-HP-Compaq-dx7518-MT.(none)>
Tue, 9 Oct 2012 11:17:49 +0000 (19:17 +0800)
committerhzf <root@hzf-HP-Compaq-dx7518-MT.(none)>
Tue, 9 Oct 2012 11:18:00 +0000 (19:18 +0800)
arch/arm/configs/rk2928_phonepad_defconfig
arch/arm/mach-rk2928/board-rk2928-phonepad.c

index d57755364fb46ea070246b67dddf2539915c12b1..92508e9da614c10db5da48f8cecb0b55ad58d121 100644 (file)
@@ -378,6 +378,7 @@ CONFIG_MMC_UNSAFE_RESUME=y
 CONFIG_MMC_EMBEDDED_SDIO=y
 CONFIG_MMC_PARANOID_SD_INIT=y
 CONFIG_SDMMC_RK29=y
+CONFIG_SDMMC0_RK29_SDCARD_DET_FROM_GPIO=y
 CONFIG_SWITCH=y
 CONFIG_SWITCH_GPIO=y
 CONFIG_RTC_CLASS=y
index 9212825f775186bcedf83cd62e35266fd99bb53b..b85cd2e3db8e116120282cfe8e544afa1e16c050 100755 (executable)
@@ -585,7 +585,7 @@ struct rk29_sdmmc_platform_data default_sdmmc0_data = {
 #else
        .use_dma = 0,
 #endif
-       .detect_irq = RK2928_PIN1_PC1,  // INVALID_GPIO
+       .detect_irq =  INVALID_GPIO,
        .enable_sd_wakeup = 0,
 
 #if defined(CONFIG_SDMMC0_RK29_WRITE_PROTECT)