riscv: Avoid updating the link register

board_init_r does not return for U-Boot SPL hence there is no need
to update the link register when jumping to board_init_r.

Signed-off-by: Bin Meng <bmeng@tinylab.org>
Reviewed-by: Leo Yu-Chi Liang <ycliang@andestech.com>
This commit is contained in:
Bin Meng 2023-04-13 14:20:06 +08:00 committed by Leo Yu-Chi Liang
parent 485f593079
commit 3c09ac2c58

View file

@ -250,7 +250,7 @@ spl_secondary_hart_stack_gd_setup:
spl_call_board_init_r:
mv a0, zero
mv a1, zero
jal board_init_r
j board_init_r
#endif
/*