ARM: uniphier: use FIELD_GET() to get access to revision register fields
authorMasahiro Yamada <yamada.masahiro@socionext.com>
Thu, 30 Jul 2020 09:28:08 +0000 (18:28 +0900)
committerMasahiro Yamada <yamada.masahiro@socionext.com>
Mon, 17 Aug 2020 17:01:14 +0000 (02:01 +0900)
commit351b74cb6d8787fb3f5f338a761bded7a1d445f5
tree322d5a39ab93ea8f31a692ae70e773de0642516e
parent26f0c8600e482b94da4dc00d8f4de367726a1683
ARM: uniphier: use FIELD_GET() to get access to revision register fields

Define register fields as macros, and use FIELD_GET().

Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
arch/arm/mach-uniphier/sg-regs.h
arch/arm/mach-uniphier/soc-info.c