commit | 3afe238926affaed74f6fab4fc964d1e68fc4eef | [log] [tgz] |
---|---|---|
author | Piotr Wojnarowski <pwojnarowski@antmicro.com> | Thu Nov 16 16:18:11 2023 +0100 |
committer | Carles CufĂ <carles.cufi@nordicsemi.no> | Mon Nov 20 09:20:13 2023 +0100 |
tree | 19fd9c07dee1c95c87c5929b7719ae24d59cafb1 | |
parent | 3ef34ff6d1c60df8a620b8e9e453b1f8ee931a32 [diff] |
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: Piotr Wojnarowski <pwojnarowski@antmicro.com>