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@gmail.com>
Reviewed-on: https://review.coreboot.org/14296
Tested-by: build bot (Jenkins)
Reviewed-by: Aaron Durbin <adurbin@chromium.org>
This commit is contained in:
Ronald G. Minnich 2016-04-08 12:41:29 -07:00
parent bdd9df7637
commit 7bd886b503
1 changed files with 2 additions and 2 deletions

View File

@ -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)