Commit 9a0f025
committed
[ot] hw/opentitan: ot_keymgr: Only go idle on reset & op_status write
The keymgr should only change its `OP_STATUS` to idle upon reset, or if
it is explicitly cleared by SW. The `DONE_ERROR` and `DONE_SUCCESS`
operation status values need to be latched to be queried by software,
but subsequent FSM ticks (e.g. scheduled by the BH) can then change the
operation status back to idle.
In HW, this value is latched and only updated when `op_start`, i.e.
when the operation is ongoing. When the operation is not ongoing, the
value is thus not reset back to idle outside of SW writes/resets.
Signed-off-by: Alex Jones <alex.jones@lowrisc.org>1 parent 287b82d commit 9a0f025
1 file changed
+0
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1836 | 1836 | | |
1837 | 1837 | | |
1838 | 1838 | | |
1839 | | - | |
1840 | | - | |
1841 | 1839 | | |
1842 | 1840 | | |
1843 | 1841 | | |
| |||
0 commit comments