]> git.sur5r.net Git - u-boot/commit
arch: arm: update the IFC IP input clock
authorPrabhakar Kushwaha <prabhakar.kushwaha@nxp.com>
Thu, 2 Feb 2017 09:31:37 +0000 (15:01 +0530)
committerYork Sun <york.sun@nxp.com>
Fri, 3 Feb 2017 22:31:19 +0000 (14:31 -0800)
commit8e63ed518dd6f03119b58af40b5f1e5bae688121
tree8e3858170ac256ad772cceeb108f05d8bccf5aa4
parent1c40707e3fd791457e07e5e31975a096483ca345
arch: arm: update the IFC IP input clock

IFC IP clock is always a constant divisor of platform clock
pre-defined per SoC. Clock control register (CCR) used in
current implementation governs IFC IP output clock.

Update sys_info->freq_localbus to represent IFC input clock with
value constant divisor of platform clock.

Signed-off-by: Prabhakar Kushwaha <prabhakar.kushwaha@nxp.com>
Reviewed-by: York Sun <york.sun@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