]> git.baikalelectronics.ru Git - uboot.git/commit
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)
commitcfd03ecf0ca46e294f4709e1728d902d513dcbc0
treed4c4fd63b26c83feb8e6c7c0a357dc68e61d5927
parent3a1cb1fb0cc11d85ace22e28d0286c0b30ec56a8
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