mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-09 04:10:18 +09:00
rk3026_86v: fix sdmmc_det config error
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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.
|
||||
|
||||
/*
|
||||
|
||||
Reference in New Issue
Block a user