summaryrefslogtreecommitdiff
path: root/firmware/fw_base.S
diff options
context:
space:
mode:
authorZong Li <zong.li@sifive.com>2026-06-25 19:21:21 -0700
committerAnup Patel <anup@brainfault.org>2026-06-28 14:08:14 +0530
commitbf10d3bf89c05cbc4e266de8c9aff7eb55aee748 (patch)
tree97758ae0bf360afb32de7254cf17e044d09eb233 /firmware/fw_base.S
parent0dfe6be08778102bf2fde61c5c99ea2cceb0b73a (diff)
downloadopensbi-bf10d3bf89c05cbc4e266de8c9aff7eb55aee748.tar.gz
opensbi-bf10d3bf89c05cbc4e266de8c9aff7eb55aee748.zip
firmware: Fix comment after relocation completion
After relocation is done, the code is running from the load address, not the link address. Fix the comment to correctly reflect this. Signed-off-by: Zong Li <zong.li@sifive.com> Reviewed-by: Anup Patel <anup@brainfault.org> Link: https://lore.kernel.org/r/20260626022121.1885209-1-zong.li@sifive.com Signed-off-by: Anup Patel <anup@brainfault.org>
Diffstat (limited to 'firmware/fw_base.S')
-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 5d6540d7..0c5c65c1 100644
--- a/firmware/fw_base.S
+++ b/firmware/fw_base.S
@@ -93,7 +93,7 @@ _sc_fail:
addi t0, t0, (__SIZEOF_LONG__ * 3)
blt t0, t1, 2b
_relocate_done:
- /* At this point we are running from link address */
+ /* At this point we are running from load address */
/* Reset all registers except ra, a0, a1, a2, a3 and a4 for boot HART */
li ra, 0