Skip to content

Commit

Permalink
[ot] hw/opentitan: ot_rstmgr: Fix incorrect CPU_INFO_CTRL INDEX field…
Browse files Browse the repository at this point in the history
… location
  • Loading branch information
AlexJones0 committed Dec 19, 2024
1 parent ec86037 commit ea1a616
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion hw/opentitan/ot_rstmgr.c
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ REG32(CPU_REGWEN, 0x1cu)
FIELD(CPU_REGWEN, EN, 0u, 1u)
REG32(CPU_INFO_CTRL, 0x20u)
FIELD(CPU_INFO_CTRL, EN, 0u, 1u)
FIELD(CPU_INFO_CTRL, INDEX, 0u, 4u)
FIELD(CPU_INFO_CTRL, INDEX, 4u, 4u)
REG32(CPU_INFO_ATTR, 0x24u)
FIELD(CPU_INFO_ATTR, CNT_AVAIL, 0u, 4u)
REG32(CPU_INFO, 0x28u)
Expand Down

0 comments on commit ea1a616

Please sign in to comment.