]> git.baikalelectronics.ru Git - uboot.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)
commit4c17529c69fcd1dfc4fed1ad3cc287c67740a511
treea9c79dc8f2c3d08a527aa640d51048f6c9083d88
parent875defba5849751ab9a215c0c26ee00bd4b7d2c5
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