summaryrefslogtreecommitdiff
path: root/arch/arm/cpu/arm926ejs
diff options
context:
space:
mode:
authorMiquel Raynal <miquel.raynal@bootlin.com>2019-05-07 15:18:50 +0300
committerTom Rini <trini@konsulko.com>2019-07-11 17:05:15 +0300
commit08ad72ae811af7ba21c5c270cfe5c7f52c9b8edb (patch)
tree15038a725c0f92ce6a1a81622ec9d8ce5171a08e /arch/arm/cpu/arm926ejs
parentf30765b74896bcd604decc46e341035f7f3b4961 (diff)
downloadu-boot-08ad72ae811af7ba21c5c270cfe5c7f52c9b8edb.tar.xz
arm: spear: Reference the link register with LR instead of R14
The link register is stored in R14. ARM assembly code allows to use the 'lr' name to reference it instead of 'r14' which is not very meaningful. Do the substitution to ease the reading. Signed-off-by: Miquel Raynal <miquel.raynal@bootlin.com> Reviewed-by: Stefan Roese <sr@denx.de>
Diffstat (limited to 'arch/arm/cpu/arm926ejs')
-rw-r--r--arch/arm/cpu/arm926ejs/spear/start.S2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/cpu/arm926ejs/spear/start.S b/arch/arm/cpu/arm926ejs/spear/start.S
index 25895f01ac..2bc9d5990e 100644
--- a/arch/arm/cpu/arm926ejs/spear/start.S
+++ b/arch/arm/cpu/arm926ejs/spear/start.S
@@ -35,7 +35,7 @@ reset:
* SPL has to return back to BootROM in a few cases (eg. Ethernet boot,
* UART boot, USB boot): save registers in BootROM's stack.
*/
- push {r0-r12,r14}
+ push {r0-r12,lr}
bl cpu_init_crit
pop {r0-r12,pc}