Skip to content
Commit 5098aaa2 authored by Michal Sieron's avatar Michal Sieron Committed by Carles Cufí
Browse files

hwinfo: hwinfo_litex: Make compatible with both 8 and 32-bit CSRs



LiteX CSRs can only be accessed on addresses aligned to 4 bytes.
That's why in 32-bit CSRs case there is bit shifting needed.

Signed-off-by: default avatarMichal Sieron <msieron@internships.antmicro.com>
parent 2485c023
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment