drivers/soc/litex: move generic accessors to litex.h
authorGabriel Somlo <gsomlo@gmail.com>
Tue, 12 Jan 2021 17:31:40 +0000 (12:31 -0500)
committerStafford Horne <shorne@gmail.com>
Thu, 14 Jan 2021 00:52:54 +0000 (09:52 +0900)
commit9d93a9e8aab3f82b6742dd034a6a81d4025cd82e
tree8846dbce998521fc20ad7212a5397dfef3dcc4f5
parent131172a4a8ce3fccfd4a9f0f8b3c0d0e59222f1d
drivers/soc/litex: move generic accessors to litex.h

Move generic LiteX CSR (MMIO) register accessors to litex.h and
declare them as "static inline", in preparation for supporting
32-bit CSR subregisters and 64-bit CPUs.

NOTE: this is a non-functional change.

Signed-off-by: Gabriel Somlo <gsomlo@gmail.com>
Signed-off-by: Stafford Horne <shorne@gmail.com>
drivers/soc/litex/litex_soc_ctrl.c
include/linux/litex.h