Skip to content
Commit 0f4e21ca authored by Mateusz Hołenko's avatar Mateusz Hołenko Committed by Maureen Helm
Browse files

soc: riscv: litex: Add helpers for accessing CSRs



Depending on LiteX configuration, CSRs
(control&status registers) might be split
into several consecutive registers.

This introduces common helper functions
for all LiteX drivers providing access
to CSRs for a default LiteX configuration
(data_width = 8bit, bus_width = 32bit).

Signed-off-by: default avatarMateusz Holenko <mholenko@antmicro.com>
parent 51b009d0
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment