From: Trent Piepho Date: Mon, 1 Apr 2019 23:05:49 +0000 (+0000) Subject: mmc: Move tegra loopback disable option to be under tegra X-Git-Tag: v2019.10-rc2~10^2~12 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=b78d97ea4979d3028237fb4880697423e1438a31;p=platform%2Fkernel%2Fu-boot.git mmc: Move tegra loopback disable option to be under tegra This is a configuration option specific to the tegra controller. Doing it this way makes it show up directly under the tegra controller option, indented one level, as "Disable external clock loopback". The way it is now, it shows up at the end of the controller list, not indented, as if it's some kind of generic MMC configuration option. Cc: Marcel Ziswiler Cc: Simon Glass Cc: Jaehoon Chung Cc: Tom Warren Signed-off-by: Trent Piepho Reviewed-by: Simon Glass Acked-by: Marcel Ziswiler Signed-off-by: Tom Warren --- diff --git a/drivers/mmc/Kconfig b/drivers/mmc/Kconfig index 66097ce..c6812f6 100644 --- a/drivers/mmc/Kconfig +++ b/drivers/mmc/Kconfig @@ -592,6 +592,17 @@ config MMC_SDHCI_TEGRA If unsure, say N. +config TEGRA124_MMC_DISABLE_EXT_LOOPBACK + bool "Disable external clock loopback" + depends on MMC_SDHCI_TEGRA && TEGRA124 + help + Disable the external clock loopback and use the internal one on SDMMC3 + as per the SDMMC_VENDOR_MISC_CNTRL_0 register's SDMMC_SPARE1 bits + being set to 0xfffd according to the TRM. + + TODO(marcel.ziswiler@toradex.com): Move to device tree controlled + approach once proper kernel integration made it mainline. + config MMC_SDHCI_ZYNQ bool "Arasan SDHCI controller support" depends on ARCH_ZYNQ || ARCH_ZYNQMP || ARCH_VERSAL @@ -671,17 +682,6 @@ config MMC_MTK endif -config TEGRA124_MMC_DISABLE_EXT_LOOPBACK - bool "Disable external clock loopback" - depends on MMC_SDHCI_TEGRA && TEGRA124 - help - Disable the external clock loopback and use the internal one on SDMMC3 - as per the SDMMC_VENDOR_MISC_CNTRL_0 register's SDMMC_SPARE1 bits - being set to 0xfffd according to the TRM. - - TODO(marcel.ziswiler@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