[U-Boot] [PATCH v2 2/8] mmc: add a Kconfig option to enable the peripheral clock support
yinbo.zhu at nxp.com
Thu Sep 12 07:35:15 UTC 2019
eSDHC supports two reference clocks (platform clock and peripheral
clock). Peripheral clock which could provide higher clock frequency
is required to be used for tuning of SD UHS mode and eMMC HS200/HS400
Signed-off-by: Yinbo Zhu <yinbo.zhu at nxp.com>
drivers/mmc/Kconfig | 10 +++++++++-
1 file changed, 9 insertions(+), 1 deletion(-)
diff --git a/drivers/mmc/Kconfig b/drivers/mmc/Kconfig
index 04a4e7716f..3c1523a129 100644
@@ -130,7 +130,6 @@ config MMC_HS200_SUPPORT
The HS200 mode is support by some eMMC. The bus frequency is up to
200MHz. This mode requires tuning the IO.
bool "enable HS200 support in SPL"
@@ -637,10 +636,19 @@ config TEGRA124_MMC_DISABLE_EXT_LOOPBACK
bool "Freescale/NXP eSDHC controller support"
+ select FSL_ESDHC_USE_PERIPHERAL_CLK if MMC_HS200_SUPPORT || MMC_UHS_SUPPORT
This selects support for the eSDHC (enhanced secure digital host
controller) found on numerous Freescale/NXP SoCs.
+ bool "enable ESDHC peripheral clock support"
+ depends on FSL_ESDHC
+ eSDHC supports two reference clocks (platform clock and peripheral clock).
+ Peripheral clock which could provide higher clock frequency is required to
+ be used for tuning of SD UHS mode and eMMC HS200/HS400 modes.
More information about the U-Boot