diff options
author | Albert ARIBAUD <albert.u.boot@aribaud.net> | 2013-05-19 01:48:15 +0000 |
---|---|---|
committer | Albert ARIBAUD <albert.u.boot@aribaud.net> | 2013-05-30 20:24:38 +0200 |
commit | 3da0e5750b24a9491058df6126c7be577a276c09 (patch) | |
tree | b5ef57cd027b046a292841f15e8c683077ba5b61 /arch/arm/lib/Makefile | |
parent | fa6c7413d1d5256516aad30b97eba3e4094c7ea3 (diff) | |
download | u-boot-imx-3da0e5750b24a9491058df6126c7be577a276c09.zip u-boot-imx-3da0e5750b24a9491058df6126c7be577a276c09.tar.gz u-boot-imx-3da0e5750b24a9491058df6126c7be577a276c09.tar.bz2 |
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/Makefile | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/arm/lib/Makefile b/arch/arm/lib/Makefile index 5b2cb61..8ad9f66 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 |