]> git.baikalelectronics.ru Git - uboot.git/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)
commit884ced5fbe40f41c3bf892fb01773353eb747747
tree1de9a77ffd87e77adb7948f604e182e113ddb07e
parent4c17529c69fcd1dfc4fed1ad3cc287c67740a511
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