rk3026_86v: fix sdmmc_det config error

This commit is contained in:
hjc
2013-08-16 17:59:49 +08:00
parent c6bb80ecef
commit bfcd921d18
2 changed files with 2 additions and 1 deletions

View File

@@ -398,6 +398,7 @@ CONFIG_MMC_EMBEDDED_SDIO=y
CONFIG_MMC_PARANOID_SD_INIT=y
CONFIG_MMC_BLOCK_MINORS=12
CONFIG_SDMMC_RK29=y
CONFIG_SDMMC0_RK29_SDCARD_DET_FROM_GPIO=y
CONFIG_NEW_LEDS=y
CONFIG_LEDS_CLASS=y
CONFIG_LEDS_GPIO=y

View File

@@ -57,7 +57,7 @@ int rk31sdk_get_sdmmc0_pin_io_voltage(void)
/*
* define the card-detect-pin.
*/
#define RK29SDK_SD_CARD_DETECT_N RK30_PIN3_PB0 //According to your own project to set the value of card-detect-pin.
#define RK29SDK_SD_CARD_DETECT_N RK30_PIN2_PA7 //According to your own project to set the value of card-detect-pin.
#define RK29SDK_SD_CARD_INSERT_LEVEL GPIO_LOW // set the voltage of insert-card. Please pay attention to the default setting.
/*