projects
/
u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
485f593
)
riscv: Avoid updating the link register
author
Bin Meng
<bmeng@tinylab.org>
Thu, 13 Apr 2023 06:20:06 +0000
(14:20 +0800)
committer
Leo Yu-Chi Liang
<ycliang@andestech.com>
Thu, 20 Apr 2023 12:45:08 +0000
(20:45 +0800)
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
patch
|
blob
|
history
diff --git
a/arch/riscv/cpu/start.S
b/arch/riscv/cpu/start.S
index c09d1cb41259dbd00d1b4e3465c5fc093c2da2d3..8cf25bb14a6ecb6fe1fa1042138b23cb9ecad608 100644
(file)
--- a/
arch/riscv/cpu/start.S
+++ b/
arch/riscv/cpu/start.S
@@
-250,7
+250,7
@@
spl_secondary_hart_stack_gd_setup:
spl_call_board_init_r:
mv a0, zero
mv a1, zero
- j
al
board_init_r
+ j
board_init_r
#endif
/*