mirror of
https://github.com/u-boot/u-boot.git
synced 2025-05-02 01:26:32 +00:00
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>
This commit is contained in:
parent
636fcc96c3
commit
a9fdc7abf3
1 changed files with 0 additions and 2 deletions
|
@ -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:
|
||||
|
|
Loading…
Add table
Reference in a new issue