projects
/
oweals
/
u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f78fdee
)
arm: spear: Do not link the _main branch
author
Miquel Raynal
<miquel.raynal@bootlin.com>
Tue, 7 May 2019 12:18:53 +0000
(14:18 +0200)
committer
Tom Rini
<trini@konsulko.com>
Thu, 11 Jul 2019 14:05:15 +0000
(10:05 -0400)
The _main call is not supposed to return at all: don't link the
branch.
Signed-off-by: Miquel Raynal <miquel.raynal@bootlin.com>
Reviewed-by: Stefan Roese <sr@denx.de>
arch/arm/cpu/arm926ejs/spear/start.S
patch
|
blob
|
history
diff --git
a/arch/arm/cpu/arm926ejs/spear/start.S
b/arch/arm/cpu/arm926ejs/spear/start.S
index 2cf854eb7493d5b89dc3ef884c69855fc9b16a04..9ac96291b707e615ee7e54de9473fda5ce88678f 100644
(file)
--- a/
arch/arm/cpu/arm926ejs/spear/start.S
+++ b/
arch/arm/cpu/arm926ejs/spear/start.S
@@
-57,8
+57,9
@@
reset:
/*
* Go setup Memory and board specific bits prior to relocation.
+ * This call is not supposed to return.
*/
- b
l
_main /* _main will call board_init_f */
+ b
_main /* _main will call board_init_f */
back_to_bootrom:
pop {r0-r12,pc}