summaryrefslogtreecommitdiffstats
path: root/arch/arm/lib/Makefile
diff options
context:
space:
mode:
authorAlbert ARIBAUD <albert.u.boot@aribaud.net>2013-05-19 01:48:15 +0000
committerAlbert ARIBAUD <albert.u.boot@aribaud.net>2013-05-30 20:24:38 +0200
commit3da0e5750b24a9491058df6126c7be577a276c09 (patch)
treeb5ef57cd027b046a292841f15e8c683077ba5b61 /arch/arm/lib/Makefile
parentfa6c7413d1d5256516aad30b97eba3e4094c7ea3 (diff)
downloadtalos-obmc-uboot-3da0e5750b24a9491058df6126c7be577a276c09.tar.gz
talos-obmc-uboot-3da0e5750b24a9491058df6126c7be577a276c09.zip
arm: factorize relocate_code routine
Replace all relocate_code routines from ARM start.S files with a single instance in file arch/arm/lib/relocate.S. For PXA, this requires moving the dcache unlocking code from within relocate_code into c_runtime_cpu_setup. 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/lib/Makefile')
-rw-r--r--arch/arm/lib/Makefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/arm/lib/Makefile b/arch/arm/lib/Makefile
index 5b2cb61dc3..8ad9f66a5d 100644
--- a/arch/arm/lib/Makefile
+++ b/arch/arm/lib/Makefile
@@ -39,6 +39,7 @@ GLCOBJS += div0.o
SOBJS-y += crt0.o
ifndef CONFIG_SPL_BUILD
+SOBJS-y += relocate.o
ifndef CONFIG_SYS_GENERIC_BOARD
COBJS-y += board.o
endif
OpenPOWER on IntegriCloud