]> git.baikalelectronics.ru Git - kernel.git/commit
soc: sifive: ccache: define the macro for the register shifts
authorZong Li <zong.li@sifive.com>
Tue, 13 Sep 2022 06:18:16 +0000 (06:18 +0000)
committerPalmer Dabbelt <palmer@rivosinc.com>
Thu, 13 Oct 2022 18:06:55 +0000 (11:06 -0700)
commitbeb744e4b5c4defbea105b3103abd6e534f88e08
tree59545e740c8bd6e4d0077132ec8f178164f9a10b
parentfcd99656c9804617c379723416e8a7843d21f021
soc: sifive: ccache: define the macro for the register shifts

Define the macro for the register shifts, it could make the code be
more readable

Signed-off-by: Zong Li <zong.li@sifive.com>
Reviewed-by: Conor Dooley <conor.dooley@microchip.com>
Link: https://lore.kernel.org/r/20220913061817.22564-7-zong.li@sifive.com
Signed-off-by: Palmer Dabbelt <palmer@rivosinc.com>
drivers/soc/sifive/sifive_ccache.c