Skip to content

Commit d64942f

Browse files
wxjstzavpatel
authored andcommitted
firmware: Fix find hart index
After the loop to find the hartid is launched, assigning -1 to index will fail in the subsequent compare instruction bge. Fix This. Signed-off-by: Xiang W <[email protected]> Reviewed-by: Anup Patel <[email protected]>
1 parent 8153b26 commit d64942f

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

firmware/fw_base.S

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -471,7 +471,6 @@ _start_warm:
471471
add s9, s9, 4
472472
add a4, a4, 1
473473
blt a4, s7, 1b
474-
li a4, -1
475474
2: add s6, a4, zero
476475
3: bge s6, s7, _start_hang
477476

0 commit comments

Comments
 (0)