]> git.kernelconcepts.de Git - karo-tx-uboot.git/commit
arm: copy_loop(): use scratch register
authorAndreas Bießmann <andreas.devel@googlemail.com>
Tue, 30 Nov 2010 23:58:33 +0000 (00:58 +0100)
committerWolfgang Denk <wd@denx.de>
Thu, 9 Dec 2010 10:01:14 +0000 (11:01 +0100)
commita78fb68f718383ba7eea410340be66e94cd3540d
treea5e41668b607603d00aeed96d07b718cc308db3e
parentbb141079d34bebb073c5b0566313e1441973ec01
arm: copy_loop(): use scratch register

This patch uses r1 as scratch register for copy_loop(). Therefore we do
not longer need r7 for the storage of relocate_code()'s 'addr_moni' (the
destination address of relocation).
Therefore r7 can be used later on for other purposes.

Signed-off-by: Andreas Bießmann <andreas.devel@googlemail.com>
14 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/lh7a40x/start.S
arch/arm/cpu/pxa/start.S
arch/arm/cpu/s3c44b0/start.S
arch/arm/cpu/sa1100/start.S