]> git.sur5r.net Git - u-boot/commit
ARM: uniphier: use FIELD_PREP for PLL settings
authorMasahiro Yamada <yamada.masahiro@socionext.com>
Wed, 6 Dec 2017 05:16:34 +0000 (14:16 +0900)
committerMasahiro Yamada <yamada.masahiro@socionext.com>
Mon, 11 Dec 2017 15:36:12 +0000 (00:36 +0900)
commit7f8e75390b9c9b79748b2f87dd7ab45674323d58
tree1de9a77ffd87e77adb7948f604e182e113ddb07e
parentf2ce50b2d076ccec56d33df71f77e6f3fd7a33f4
ARM: uniphier: use FIELD_PREP for PLL settings

It is tedious to define both mask and bit-shift.  <linux/bitfield.h>
provides a convenient way to get access to register fields with a
single shifted mask.

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