The fsl esdhc driver was the only mmc driver that could be enabled if mmc support was off. It does not appear to compile in such a configuration.
Move it to be inside the "if" that makes it conditional on MMC support. It's still possible to turn off DM_MMC and enable the driver. It looks like a rebase mistake in the original commit that added it, as it would behaved as expected if just moved up a bit in the file. Cc: Peng Fan <peng....@nxp.com> Cc: Mario Six <mario....@gdsys.cc> Cc: Jaehoon Chung <jh80.ch...@samsung.com> Signed-off-by: Trent Piepho <tpie...@impinj.com> --- drivers/mmc/Kconfig | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/drivers/mmc/Kconfig b/drivers/mmc/Kconfig index 496b2cba64..08c2dd2541 100644 --- a/drivers/mmc/Kconfig +++ b/drivers/mmc/Kconfig @@ -619,6 +619,12 @@ config MMC_MTK This is needed if support for any SD/SDIO/MMC devices is required. If unsure, say N. +config FSL_ESDHC + bool "Freescale/NXP eSDHC controller support" + help + This selects support for the eSDHC (enhanced secure digital host + controller) found on numerous Freescale/NXP SoCs. + endif config TEGRA124_MMC_DISABLE_EXT_LOOPBACK @@ -632,12 +638,6 @@ config TEGRA124_MMC_DISABLE_EXT_LOOPBACK TODO(marcel.ziswi...@toradex.com): Move to device tree controlled approach once proper kernel integration made it mainline. -config FSL_ESDHC - bool "Freescale/NXP eSDHC controller support" - help - This selects support for the eSDHC (enhanced secure digital host - controller) found on numerous Freescale/NXP SoCs. - endmenu config SYS_FSL_ERRATUM_ESDHC111 -- 2.14.5 _______________________________________________ U-Boot mailing list U-Boot@lists.denx.de https://lists.denx.de/listinfo/u-boot