From 4ac82401a84d29e7849a9eaa9431cc2754f1f18b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jonathan=20Neusch=C3=A4fer?= Date: Fri, 10 Jun 2016 19:35:14 +0200 Subject: arch/riscv/trap_util.S: Use "li" pseudo-instruction to load a constant MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Change-Id: I9759771fa6fc708d7d97509c5f5e0cefb8ab4c96 Signed-off-by: Jonathan Neuschäfer Reviewed-on: https://review.coreboot.org/14962 Tested-by: build bot (Jenkins) Reviewed-by: Ronald G. Minnich --- src/arch/riscv/trap_util.S | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/arch/riscv') diff --git a/src/arch/riscv/trap_util.S b/src/arch/riscv/trap_util.S index bc09dc92cb..0118ffcfe0 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 -- cgit v1.2.3