]> git.sur5r.net Git - u-boot/commit
imx: mx7ulp: Fix SPLL/APLL clock rate calculation issue
authorYe Li <ye.li@nxp.com>
Wed, 5 Apr 2017 02:36:58 +0000 (10:36 +0800)
committerStefano Babic <sbabic@denx.de>
Wed, 12 Apr 2017 16:45:10 +0000 (18:45 +0200)
commit2018ef868c1faf6231b8aeb6d0427f139923a9a6
tree868a2e939e104611d72c77210d2eec6e4388801e
parentb69999efd8c6c6a1246234b1d06375d00149fde5
imx: mx7ulp: Fix SPLL/APLL clock rate calculation issue

The num/denom is a float value, but in the calculation it is convert
to integer 0, and wrong result.

Signed-off-by: Ye Li <ye.li@nxp.com>
Signed-off-by: Peng Fan <peng.fan@nxp.com>
Cc: Stefano Babic <sbabic@denx.de>
arch/arm/cpu/armv7/mx7ulp/scg.c