diff options
author | Liya Huang <1425075683@qq.com> | 2025-01-19 09:04:58 +0800 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2025-02-10 16:37:22 -0600 |
commit | a9fdc7abf3d3ad7bafb53f88264c391e7789602c (patch) | |
tree | b915b65f74e8cc21e75fa842d0e4fe7db57ffa1f | |
parent | 636fcc96c3d7e2b00c843e6da78ed3e9e3bdf4de (diff) |
arm: Remove redundant loading of image copy start offse
Because the beginning is already computed
Signed-off-by: Liya Huang <1425075683@qq.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
-rw-r--r-- | arch/arm/lib/relocate.S | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/arch/arm/lib/relocate.S b/arch/arm/lib/relocate.S index 345e282e3e6..bffadfecba1 100644 --- a/arch/arm/lib/relocate.S +++ b/arch/arm/lib/relocate.S @@ -83,8 +83,6 @@ relocate_base: add r1, r3 /* r1 <- Run &__image_copy_start */ subs r4, r0, r1 /* r4 <- Run to copy offset */ beq relocate_done /* skip relocation */ - ldr r1, _image_copy_start_ofs - add r1, r3 /* r1 <- Run &__image_copy_start */ ldr r2, _image_copy_end_ofs add r2, r3 /* r2 <- Run &__image_copy_end */ copy_loop: |