]> git.baikalelectronics.ru Git - uboot.git/commit
Drop CONFIG_FSL_ESDHC_USE_PERIPHERAL_CLK usage
authorYangbo Lu <yangbo.lu@nxp.com>
Thu, 19 Dec 2019 10:59:30 +0000 (18:59 +0800)
committerPeng Fan <peng.fan@nxp.com>
Thu, 16 Jan 2020 05:20:33 +0000 (13:20 +0800)
commit4c91c997443db745a324dba7439afa83b4fff582
tree2b0bca2bab39e85bdd97102e72f709f6123bb800
parente8e144b8960f4168535c6634dd3ec2bff5c161fd
Drop CONFIG_FSL_ESDHC_USE_PERIPHERAL_CLK usage

The eSDHC reference clocks should be provided by speed.c in arch/.
And we do not need CONFIG_FSL_ESDHC_USE_PERIPHERAL_CLK option to
select which clock to use. Because we can make the driver to select
the periperhal clock which is better (provides higher frequency)
automatically if its value is provided by speed.c.

This patch is to drop this option and make driver to select clock
automatically. Also fix peripheral clock calculation issue in
fsl_lsch2_speed.c/fsl_lsch3_speed.c.

Signed-off-by: Yangbo Lu <yangbo.lu@nxp.com>
arch/arm/cpu/armv8/fsl-layerscape/fsl_lsch2_speed.c
arch/arm/cpu/armv8/fsl-layerscape/fsl_lsch3_speed.c
drivers/mmc/Kconfig
drivers/mmc/fsl_esdhc.c