]> git.dujemihanovic.xyz Git - u-boot.git/commit
arm: drop eSDHC clock getting in mxc_get_clock() for layerscape
authorYangbo Lu <yangbo.lu@nxp.com>
Tue, 12 Nov 2019 11:28:38 +0000 (19:28 +0800)
committerPeng Fan <peng.fan@nxp.com>
Wed, 27 Nov 2019 08:55:56 +0000 (16:55 +0800)
commitd3eb317ea50ef763a5a1ef5ff4e2bc19498542d1
tree1e93247139eff9a521651669e8183f274383f105
parentd9114e2b73552be7f9035c7567ea14febefa0dce
arm: drop eSDHC clock getting in mxc_get_clock() for layerscape

Although layerscape platforms reuse mxc_get_clock() of i.MX platforms,
eSDHC clock getting do not have to use it. It uses global data
gd->arch.sdhc_clk directly in fsl_esdhc driver. Even there are more
than one eSDHC controllers on SoC, they use same reference clock.

Signed-off-by: Yangbo Lu <yangbo.lu@nxp.com>
Reviewed-by: Priyanka Jain <priyanka.jain@nxp.com>
arch/arm/cpu/armv7/ls102xa/clock.c
arch/arm/cpu/armv8/fsl-layerscape/fsl_lsch2_speed.c
arch/arm/cpu/armv8/fsl-layerscape/fsl_lsch3_speed.c
arch/arm/include/asm/arch-fsl-layerscape/clock.h
arch/arm/include/asm/arch-ls102xa/clock.h