summaryrefslogtreecommitdiff
path: root/firmware
diff options
context:
space:
mode:
authorXiang W <wxjstz@126.com>2025-01-20 11:13:16 +0800
committerAnup Patel <anup@brainfault.org>2025-02-12 09:34:06 +0530
commit82da072eb4cc502c2a8a1c0b3b6e422367651d80 (patch)
treecd559bedb04a9ff1c010857cd4df373cdb07a776 /firmware
parent5e90e54a1a53173128b264f4e22cfa5884f78526 (diff)
downloadopensbi-82da072eb4cc502c2a8a1c0b3b6e422367651d80.tar.gz
opensbi-82da072eb4cc502c2a8a1c0b3b6e422367651d80.zip
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. Signed-off-by: Xiang W <wxjstz@126.com> Reviewed-by: Anup Patel <anup@brainfault.org>
Diffstat (limited to 'firmware')
-rw-r--r--firmware/fw_base.S2
1 files changed, 1 insertions, 1 deletions
diff --git a/firmware/fw_base.S b/firmware/fw_base.S
index d027e5e2..536bcd26 100644
--- a/firmware/fw_base.S
+++ b/firmware/fw_base.S
@@ -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