mmc: fsl_esdhc: convert to CONFIG_FSL_ESDHC_VS33_NOT_SUPPORT
authorYangbo Lu <yangbo.lu@nxp.com>
Wed, 2 Jun 2021 03:05:19 +0000 (11:05 +0800)
committerPriyanka Jain <priyanka.jain@nxp.com>
Wed, 2 Jun 2021 09:11:51 +0000 (14:41 +0530)
commit88b643963a280b15923b2296b8387100f5fd97a6
treede0d684dbd48c3fdaeb973c699ad5c936bc876cd
parentff0a75fa9f1506b62b6b3820774340ad331df26a
mmc: fsl_esdhc: convert to CONFIG_FSL_ESDHC_VS33_NOT_SUPPORT

For eSDHC, power supply is through peripheral circuit. So, 3.3V
power supply capability from register bit does not reflect the
truth. 3.3V is common for SD/MMC, and is supported for all boards
with eSDHC in current u-boot. So, let's use a Kconfig
CONFIG_FSL_ESDHC_VS33_NOT_SUPPORT making 3.3V is supported in
default.

This is also a fix-up for one previous patch, which converted to
use IS_ENABLED() for CONFIG_SYS_FSL_MMC_HAS_CAPBLT_VS33 that is
not a Kconfig option.

Fixes: 52faec31827e ("mmc: fsl_esdhc: replace most #ifdefs by IS_ENABLED()")
Signed-off-by: Yangbo Lu <yangbo.lu@nxp.com>
drivers/mmc/Kconfig
drivers/mmc/fsl_esdhc.c