Skip to content

Commit 91aa824

Browse files
AlexJones0rivos-eblot
authored andcommitted
[ot] hw/opentitan: ot_rstmgr: Fix incorrect CPU_INFO_CTRL INDEX field location
(cherry picked from commit bdb7b86)
1 parent dcba1de commit 91aa824

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

hw/opentitan/ot_rstmgr.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ REG32(CPU_REGWEN, 0x1cu)
7777
FIELD(CPU_REGWEN, EN, 0u, 1u)
7878
REG32(CPU_INFO_CTRL, 0x20u)
7979
FIELD(CPU_INFO_CTRL, EN, 0u, 1u)
80-
FIELD(CPU_INFO_CTRL, INDEX, 0u, 4u)
80+
FIELD(CPU_INFO_CTRL, INDEX, 4u, 4u)
8181
REG32(CPU_INFO_ATTR, 0x24u)
8282
FIELD(CPU_INFO_ATTR, CNT_AVAIL, 0u, 4u)
8383
REG32(CPU_INFO, 0x28u)

0 commit comments

Comments
 (0)