]> git.ipfire.org Git - people/ms/u-boot.git/commit
ARM: uniphier: compute SSCPLL values more precisely
authorMasahiro Yamada <yamada.masahiro@socionext.com>
Wed, 6 Dec 2017 05:16:33 +0000 (14:16 +0900)
committerMasahiro Yamada <yamada.masahiro@socionext.com>
Mon, 11 Dec 2017 15:36:11 +0000 (00:36 +0900)
commitf2ce50b2d076ccec56d33df71f77e6f3fd7a33f4
treea9c79dc8f2c3d08a527aa640d51048f6c9083d88
parentc30c44e799e1f7d5184c487809edbd612705ba5c
ARM: uniphier: compute SSCPLL values more precisely

Use DIV_ROUND_CLOSEST().  To make the JK value even more precise,
I used a bigger coefficient, then divide it by 512.

Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
arch/arm/mach-uniphier/clk/pll-base-ld20.c