]> git.baikalelectronics.ru Git - uboot.git/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)
commit4393bbd52406550d0c3f60122a916bd0e82fa848
tree8e3858170ac256ad772cceeb108f05d8bccf5aa4
parent5a8d714f1acfb5897c5d45694069a2e316b2ee0f
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