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>
This commit is contained in:
Miquel Raynal 2019-05-07 14:18:53 +02:00 committed by Tom Rini
parent f78fdee9fc
commit 6d09581f78

View File

@ -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}