mirror of https://github.com/OpenIPC/firmware.git
[no ci] Ingenic: allow custom mmc_detect gpio (#1867)
parent
cec2ac4260
commit
74d1f6895b
|
@ -882,9 +882,6 @@ CONFIG_WLAN=y
|
|||
# CONFIG_P54_COMMON is not set
|
||||
# CONFIG_RT2X00 is not set
|
||||
# CONFIG_RTLWIFI is not set
|
||||
# CONFIG_RTLWIFI_DEBUG is not set
|
||||
# CONFIG_RTL8192CU is not set
|
||||
# CONFIG_RTL8192C_COMMON is not set
|
||||
# CONFIG_WL_TI is not set
|
||||
# CONFIG_ZD1211RW is not set
|
||||
# CONFIG_MWIFIEX is not set
|
||||
|
@ -1424,7 +1421,7 @@ CONFIG_MMC_BLOCK_BOUNCE=y
|
|||
#
|
||||
# MMC/SD/SDIO Host Controller Drivers
|
||||
#
|
||||
CONFIG_JZMMC_V12=y
|
||||
CONFIG_JZMMC_V12=m
|
||||
CONFIG_JZMMC_V12_SDMA=y
|
||||
CONFIG_JZMMC_V12_MMC0=y
|
||||
# CONFIG_JZMMC_V12_MMC0_PA_4BIT is not set
|
||||
|
|
|
@ -83,3 +83,9 @@ if [ $? -ne 0 ]; then
|
|||
modprobe audio spk_gpio=-1
|
||||
check_return "modprobe audio"
|
||||
fi
|
||||
|
||||
lsmod | grep -q "jzmmc_v12"
|
||||
if [ $? -ne 0 ]; then
|
||||
modprobe jzmmc_v12 detect_pin=$(fw_printenv -n gpio_mmc || echo 59)
|
||||
check_return "modprobe mmc"
|
||||
fi
|
||||
|
|
Loading…
Reference in New Issue