riscv: Avoid updating the link register
authorBin Meng <bmeng@tinylab.org>
Thu, 13 Apr 2023 06:20:06 +0000 (14:20 +0800)
committerLeo Yu-Chi Liang <ycliang@andestech.com>
Thu, 20 Apr 2023 12:45:08 +0000 (20:45 +0800)
commit3c09ac2c589fbf4d0976c49956cc9c6d14c33986
treed4c4fd63b26c83feb8e6c7c0a357dc68e61d5927
parent485f59307957269786384c30e4eee59716727f07
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>
arch/riscv/cpu/start.S