[coreboot-gerrit] New patch to review for coreboot: Change la to li (load immediate)
Ronald G. Minnich (rminnich@gmail.com)
gerrit at coreboot.org
Fri Apr 8 21:43:59 CEST 2016
Ronald G. Minnich (rminnich at gmail.com) just uploaded a new patch set to gerrit, which you can find at https://review.coreboot.org/14296
-gerrit
commit 6b351f85f9bcc5156ddc06302bd887baa23140d7
Author: Ronald G. Minnich <rminnich at gmail.com>
Date: Fri Apr 8 12:41:29 2016 -0700
Change la to li (load immediate)
This used to build, but will not with newer toolchains.
Change-Id: I0f397839eb85977ba18328b0e32040b15a6c3b0f
Signed-off-by: Ronald G. Minnich <rminnich at gmail.com>
---
src/arch/riscv/bootblock.S | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/arch/riscv/bootblock.S b/src/arch/riscv/bootblock.S
index 27c80eb..029e9e4 100644
--- a/src/arch/riscv/bootblock.S
+++ b/src/arch/riscv/bootblock.S
@@ -35,7 +35,7 @@ machine_handler:
_start:
// pending figuring out this f-ing toolchain. Hardcode what we know works.
- la sp, 0x80FFF0 // stack start + stack size
+ li sp, 0x80FFF0 // stack start + stack size
# make room for HLS and initialize it
addi sp, sp, -64 // MENTRY_FRAME_SIZE
@@ -43,7 +43,7 @@ _start:
call hls_init
//poison the stack
- la t1, 0x800000
+ li t1, 0x800000
li t0, 0xdeadbeef
sd t0, 0(t1)
More information about the coreboot-gerrit
mailing list