]> git.dujemihanovic.xyz Git - u-boot.git/commit
arm: factorize relocate_code routine
authorAlbert ARIBAUD <albert.u.boot@aribaud.net>
Sun, 19 May 2013 01:48:15 +0000 (01:48 +0000)
committerAlbert ARIBAUD <albert.u.boot@aribaud.net>
Thu, 30 May 2013 18:24:38 +0000 (20:24 +0200)
commit3da0e5750b24a9491058df6126c7be577a276c09
treeb5ef57cd027b046a292841f15e8c683077ba5b61
parentfa6c7413d1d5256516aad30b97eba3e4094c7ea3
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>
15 files changed:
arch/arm/cpu/arm1136/start.S
arch/arm/cpu/arm1176/start.S
arch/arm/cpu/arm720t/start.S
arch/arm/cpu/arm920t/start.S
arch/arm/cpu/arm925t/start.S
arch/arm/cpu/arm926ejs/start.S
arch/arm/cpu/arm946es/start.S
arch/arm/cpu/arm_intcm/start.S
arch/arm/cpu/armv7/start.S
arch/arm/cpu/ixp/start.S
arch/arm/cpu/pxa/start.S
arch/arm/cpu/s3c44b0/start.S
arch/arm/cpu/sa1100/start.S
arch/arm/lib/Makefile
arch/arm/lib/relocate.S [new file with mode: 0644]