summaryrefslogtreecommitdiff
path: root/arch
diff options
context:
space:
mode:
authorMiquel Raynal <miquel.raynal@bootlin.com>2019-05-07 14:18:53 +0200
committerTom Rini <trini@konsulko.com>2019-07-11 10:05:15 -0400
commit6d09581f780644df62f594118156abc638152c15 (patch)
treeb875bc2af741738ee7410f535fef94ec78a23a27 /arch
parentf78fdee9fc157afe35118f01f349aff5aa791c81 (diff)
downloadu-boot-6d09581f780644df62f594118156abc638152c15.tar.gz
u-boot-6d09581f780644df62f594118156abc638152c15.tar.bz2
u-boot-6d09581f780644df62f594118156abc638152c15.zip
arm: spear: Do not link the _main branch
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>
Diffstat (limited to 'arch')
-rw-r--r--arch/arm/cpu/arm926ejs/spear/start.S3
1 files changed, 2 insertions, 1 deletions
diff --git a/arch/arm/cpu/arm926ejs/spear/start.S b/arch/arm/cpu/arm926ejs/spear/start.S
index 2cf854eb74..9ac96291b7 100644
--- 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.
*/
- bl _main /* _main will call board_init_f */
+ b _main /* _main will call board_init_f */
back_to_bootrom:
pop {r0-r12,pc}