git.openpandora.org
/
pandora-u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
636fcc9
)
arm: Remove redundant loading of image copy start offse
author
Liya Huang
<1425075683@qq.com>
Sun, 19 Jan 2025 01:04:58 +0000
(09:04 +0800)
committer
Tom Rini
<trini@konsulko.com>
Mon, 10 Feb 2025 22:37:22 +0000
(16:37 -0600)
Because the beginning is already computed
Signed-off-by: Liya Huang <1425075683@qq.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
arch/arm/lib/relocate.S
patch
|
blob
|
history
diff --git
a/arch/arm/lib/relocate.S
b/arch/arm/lib/relocate.S
index
345e282
..
bffadfe
100644
(file)
--- 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: