From: Trent Piepho Date: Mon, 1 Apr 2019 23:05:31 +0000 Subject: [U-Boot] [PATCH] mmc: Move FSL_ESDHC under if MMC Message-ID: <20190401230446.6333-1-tpiepho@impinj.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de 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 Cc: Mario Six Cc: Jaehoon Chung Signed-off-by: Trent Piepho --- 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.ziswiler at 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