Skip to contentSkip to conversation

firmware: fw_base.S: Fix comments for _wait_for_boot_hart

PATCH New Xiang W 2 participants 2 messages Jan 20, 2025 – Feb 12, 2025

lore
Share & tools
lore

Xiang W

author
#0 lore raw

PATCH 1/1 firmware: fw_base.S: Fix comments for _wait_for_boot_hart

Due to some historical issues, the value of BOOT_STATUS_BOOT_HART_DONE has changed and the comment message needs to be corrected.

---
 firmware/fw_base.S | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
firmware/fw_base.S +1 -1
index d027e5e2..536bcd26 100644
@@ -292,7 +292,7 @@ _fdt_reloc_done:
 	REG_S	t0, 0(t1)
 	j	_start_warm
 
-	/* waiting for boot hart to be done (_boot_status == 2) */
+	/* waiting for boot hart to be done (_boot_status == BOOT_STATUS_BOOT_HART_DONE) */
 _wait_for_boot_hart:
 	li	t0, BOOT_STATUS_BOOT_HART_DONE
 	lla	t1, _boot_status
Signature · 1 line
2.45.2
Applied
#1 lore raw

PATCH 1/1 firmware: fw_base.S: Fix comments for _wait_for_boot_hart

Quoted 5 lines · On Mon, Jan 20, 2025 at 8:44?AM Xiang W <[email protected]> wrote:

Due to some historical issues, the value of BOOT_STATUS_BOOT_HART_DONE has changed and the comment message needs to be corrected.

LGTM.

Applied this patch to the riscv/opensbi repo.

Thanks,
Anup

Quoted 20 lines
---
 firmware/fw_base.S | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
firmware/fw_base.S +1 -2
index d027e5e2..536bcd26 100644
@@ -292,7 +292,7 @@ _fdt_reloc_done:
        REG_S   t0, 0(t1)
        j       _start_warm
 
-       /* waiting for boot hart to be done (_boot_status == 2) */
+       /* waiting for boot hart to be done (_boot_status == BOOT_STATUS_BOOT_HART_DONE) */
 _wait_for_boot_hart:
        li      t0, BOOT_STATUS_BOOT_HART_DONE
        lla     t1, _boot_status
--

2.45.2