firmware: fw_base.S: remove _runtime_offset

_runtime_offset is a variable not used elsewhere, so remove it.

Signed-off-by: Xiang W <wxjstz@126.com>
Reviewed-by: Anup Patel <anup@brainfault.org>
This commit is contained in:
Xiang W
2024-01-17 18:41:59 +08:00
committed by Anup Patel
parent 4c6b7cb76b
commit 9c8b18eb01

View File

@@ -74,8 +74,6 @@ _try_lottery:
REG_L t0, 0(t0) REG_L t0, 0(t0)
/* t1 shall has the address of _fw_start */ /* t1 shall has the address of _fw_start */
sub t2, t1, t0 sub t2, t1, t0
lla t3, _runtime_offset
REG_S t2, (t3)
lla t0, __rel_dyn_start lla t0, __rel_dyn_start
lla t1, __rel_dyn_end lla t1, __rel_dyn_end
beq t0, t1, _relocate_done beq t0, t1, _relocate_done
@@ -500,10 +498,6 @@ _skip_trap_exit_rv32_hyp:
.data .data
.align 3 .align 3
#ifdef FW_PIC
_runtime_offset:
RISCV_PTR 0
#endif
_relocate_lottery: _relocate_lottery:
RISCV_PTR 0 RISCV_PTR 0
_boot_status: _boot_status: