From: Miquel Raynal Date: Tue, 7 May 2019 12:18:53 +0000 (+0200) Subject: arm: spear: Do not link the _main branch X-Git-Url: http://git.dujemihanovic.xyz/?a=commitdiff_plain;h=6d09581f780644df62f594118156abc638152c15;p=u-boot.git 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 Reviewed-by: Stefan Roese --- 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}