[coreboot-gerrit] New patch to review for coreboot: arch/riscv/trap_util.S: Use "li" pseudo-instruction to load a constant
Jonathan Neuschäfer (j.neuschaefer@gmx.net)
gerrit at coreboot.org
Wed May 25 01:10:27 CEST 2016
Jonathan Neuschäfer (j.neuschaefer at gmx.net) just uploaded a new patch set to gerrit, which you can find at https://review.coreboot.org/14962
-gerrit
commit d62306f3463ff38e6a164389f8356c1813c5fb56
Author: Jonathan Neuschäfer <j.neuschaefer at gmx.net>
Date: Wed May 25 01:06:37 2016 +0200
arch/riscv/trap_util.S: Use "li" pseudo-instruction to load a constant
Change-Id: I9759771fa6fc708d7d97509c5f5e0cefb8ab4c96
Signed-off-by: Jonathan Neuschäfer <j.neuschaefer at gmx.net>
---
src/arch/riscv/trap_util.S | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/arch/riscv/trap_util.S b/src/arch/riscv/trap_util.S
index bc09dc9..0118ffc 100644
--- a/src/arch/riscv/trap_util.S
+++ b/src/arch/riscv/trap_util.S
@@ -108,7 +108,7 @@
supervisor_trap_entry:
csrw mscratch, sp
# load in the top of the machine stack
- la sp, 0x80FFF0 - 64
+ li sp, 0x80FFF0 - 64
1:addi sp,sp,-320
save_tf
move a0,sp
More information about the coreboot-gerrit
mailing list