mirror of
https://github.com/saymrwulf/xous-core.git
synced 2026-11-15 08:30:02 +00:00
spinor: fix incorrect ecc write into softirq block
The init code tried to set up the ECC block to report errors by writing into the softirq block. Correct the block so that it goes into the spinor block instead. Signed-off-by: Sean Cross <sean@xobs.io>
This commit is contained in:
parent
d44cae2eae
commit
5402582f97
1 changed files with 2 additions and 2 deletions
|
|
@ -387,8 +387,8 @@ mod implementation {
|
|||
(&mut spinor) as *mut Spinor as *mut usize,
|
||||
)
|
||||
.expect("couldn't claim SPINOR irq");
|
||||
spinor.softirq.wfo(utra::spinor::EV_PENDING_ECC_ERROR, 1);
|
||||
spinor.softirq.wfo(utra::spinor::EV_ENABLE_ECC_ERROR, 1);
|
||||
spinor.csr.wfo(utra::spinor::EV_PENDING_ECC_ERROR, 1);
|
||||
spinor.csr.wfo(utra::spinor::EV_ENABLE_ECC_ERROR, 1);
|
||||
spinor.susres.push_fixed_value(RegOrField::Reg(utra::spinor::EV_PENDING), 0xFFFF_FFFF);
|
||||
spinor.susres.push(RegOrField::Reg(utra::spinor::EV_ENABLE), None);
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue