summaryrefslogtreecommitdiff
path: root/arch/arm/cpu/armv7/start.S
diff options
context:
space:
mode:
authorAlbert ARIBAUD <albert.u.boot@aribaud.net>2013-05-19 01:48:14 +0000
committerAlbert ARIBAUD <albert.u.boot@aribaud.net>2013-05-30 20:24:07 +0200
commitfa6c7413d1d5256516aad30b97eba3e4094c7ea3 (patch)
treefade6f04d7e42bf31dc9ba4023c657b00c1c1feb /arch/arm/cpu/armv7/start.S
parent91607ac17e534927f3086df6d663b02e900c596a (diff)
downloadu-boot-imx-fa6c7413d1d5256516aad30b97eba3e4094c7ea3.zip
u-boot-imx-fa6c7413d1d5256516aad30b97eba3e4094c7ea3.tar.gz
u-boot-imx-fa6c7413d1d5256516aad30b97eba3e4094c7ea3.tar.bz2
arm: do not compile relocate_code() for SPL builds
Signed-off-by: Albert ARIBAUD <albert.u.boot@aribaud.net> Reviewed-by: Benoît Thébaudeau <benoit.thebaudeau@advansee.com> Tested-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'arch/arm/cpu/armv7/start.S')
-rw-r--r--arch/arm/cpu/armv7/start.S6
1 files changed, 2 insertions, 4 deletions
diff --git a/arch/arm/cpu/armv7/start.S b/arch/arm/cpu/armv7/start.S
index e9e57e6..3ade510 100644
--- a/arch/arm/cpu/armv7/start.S
+++ b/arch/arm/cpu/armv7/start.S
@@ -94,10 +94,6 @@ _TEXT_BASE:
_bss_start_ofs:
.word __bss_start - _start
-.globl _image_copy_end_ofs
-_image_copy_end_ofs:
- .word __image_copy_end - _start
-
.globl _bss_end_ofs
_bss_end_ofs:
.word __bss_end - _start
@@ -231,6 +227,8 @@ relocate_done:
bx lr
+_image_copy_end_ofs:
+ .word __image_copy_end - _start
_rel_dyn_start_ofs:
.word __rel_dyn_start - _start
_rel_dyn_end_ofs: