Skip to content
Commit 3afe2389 authored by Piotr Wojnarowski's avatar Piotr Wojnarowski Committed by Carles Cufí
Browse files

drivers: intc: plic: Fix memory-mapped register offset calculation



Previously, the PLIC's registers were accessed through uint32_t *,
so all calculated offsets were effectively multiplied by
sizeof(uint32_t). Do the same manuallly now that we have
mem_addr_t/sys_read32.

Signed-off-by: default avatarPiotr Wojnarowski <pwojnarowski@antmicro.com>
parent 3ef34ff6
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment