[coreboot-gerrit] Patch set updated 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
Fri May 27 10:08:04 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 bf26d1a6f50803b1547178edb3b129946f11c812
Author: Jonathan Neuschäfer <j.neuschaefer at gmx.net>
Date:   Fri May 27 09:05:03 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