#
# MMC subsystem configuration
#

menuconfig MMC
	tristate "MMC/SD/SDIO card support"
	depends on HAS_IOMEM
	help
	  This selects MultiMediaCard, Secure Digital and Secure
	  Digital I/O support.

	  If you want MMC/SD/SDIO support, you should say Y here and
	  also to your specific host controller driver.

config MMC_DEBUG
	bool "MMC debugging"
	depends on MMC != n
	help
	  This is an option for use by developers; most people should
	  say N here.  This enables MMC core and driver debugging.

config MMC_PERF_PROFILING
	bool "MMC performance profiling"
	depends on MMC != n
	default n
	help
	  If you say Y here, support will be added for collecting
	  performance numbers at the MMC Queue and Host layers.

# LGE_CHANGE_S : D3-5T-FS@lge.com
config LGE_MMC_RESET_IF_HANG
    bool "MMC Reset if eMMC is hang. "
    default n
    help
        Reset eMMC if eMMC is unaccessible. continously error on r/w cmd.

config LGE_MMC_DYNAMIC_LOG
    bool "MMC debugging - enable logs through adb"
    default n
    help
        If you say Y here, developers can enable/disable mmc logs through adb
        by accessing /sys/module/mmc_core/parameters/debug_level
        ex. echo {debug_level} > /sys/module/mmc_core/parameters/debug_level

config LGE_MMC_DEBUG
    bool "MMC debugging - show eMMC CMD/ARG/RESP in case of eMMC fails"
    default n
    help
        If you say Y here, eMMC command set is holded on RAM (CMD/ARG/RESP) and print it on eMMC fail condition.

config LGE_MMC_PON_SHORT
    bool "Send PON for SYS_RESTART"
    help
        If you say Y here, mmc send PON for SYS_RESTART also.
        There is slight chance of data loss on cache enabled,
        if PON is not send properly.
# LGE_CHANGE_E : D3-5T-FS@lge.com

config LGE_SDCARD_LDO_GPIO_CONTROL
    bool "SDCard VDD supply - GPIO control"
    default n
    help
        If you want to use gpio(962) control for sdcard vdd, you have to set Y in kernel/arch/arm/configs/XXXX_defconfig file.

config LGE_SHOW_SDCARD_DETECT_PIN_STATUS
    bool "Show SD Card Detect pin status"
    default n
    help
        Show SD Card Detect pin status at /sys/devices/soc.0/7864900.sdhci/mmc_host/mmc1/cd_status

config LGE_MMC_BKOPS_ENABLE
    bool "enable BKOPS for eMMC"
    depends on MMC != n
    help
        if you want to use BKOPS for eMMC, you have to set Y in kernel/arch/arm/configs/XXXX_defconfig file.

if MMC

source "drivers/mmc/core/Kconfig"

source "drivers/mmc/card/Kconfig"

source "drivers/mmc/host/Kconfig"

endif # MMC
