]> git.baikalelectronics.ru Git - uboot.git/commit
i.MX7ULP: Fix SPLL/APLL clock rate calculation issue
authorYe Li <ye.li@nxp.com>
Mon, 22 Jul 2019 01:25:00 +0000 (01:25 +0000)
committerStefano Babic <sbabic@denx.de>
Tue, 8 Oct 2019 14:35:16 +0000 (16:35 +0200)
commit6d251996cd75f0c92d4f06e9e07fc31df7702c52
tree20b614523935163c824ce265ecc7396365d2eb48
parent83addbe9ea4f83bea96695827ad02e00ac7c52d1
i.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 cause the result wrong.

Signed-off-by: Ye Li <ye.li@nxp.com>
Signed-off-by: Peng Fan <peng.fan@nxp.com>
arch/arm/mach-imx/mx7ulp/scg.c