diff options
| author | Xiang W <[email protected]> | 2024-01-17 18:41:59 +0800 |
|---|---|---|
| committer | Anup Patel <[email protected]> | 2024-02-06 12:33:25 +0530 |
| commit | 9c8b18eb01b80f4a29d9c7be463b645b41fc6664 (patch) | |
| tree | 2488440bd640b69ed0baaf87392ab895e45f73f5 | |
| parent | 4c6b7cb76bfc82db71484c6695cfd5d3a93880e8 (diff) | |
firmware: fw_base.S: remove _runtime_offset
_runtime_offset is a variable not used elsewhere, so remove it.
Signed-off-by: Xiang W <[email protected]>
Reviewed-by: Anup Patel <[email protected]>
| -rw-r--r-- | firmware/fw_base.S | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/firmware/fw_base.S b/firmware/fw_base.S index 3425fe55..09894e64 100644 --- a/firmware/fw_base.S +++ b/firmware/fw_base.S @@ -74,8 +74,6 @@ _try_lottery: REG_L t0, 0(t0) /* t1 shall has the address of _fw_start */ sub t2, t1, t0 - lla t3, _runtime_offset - REG_S t2, (t3) lla t0, __rel_dyn_start lla t1, __rel_dyn_end beq t0, t1, _relocate_done @@ -500,10 +498,6 @@ _skip_trap_exit_rv32_hyp: .data .align 3 -#ifdef FW_PIC -_runtime_offset: - RISCV_PTR 0 -#endif _relocate_lottery: RISCV_PTR 0 _boot_status: |
