summaryrefslogtreecommitdiff
path: root/target/linux/brcm47xx/image
diff options
context:
space:
mode:
Diffstat (limited to 'target/linux/brcm47xx/image')
-rw-r--r--target/linux/brcm47xx/image/lzma-loader/src/head.S18
1 files changed, 9 insertions, 9 deletions
diff --git a/target/linux/brcm47xx/image/lzma-loader/src/head.S b/target/linux/brcm47xx/image/lzma-loader/src/head.S
index 3a33e40..9c2a9c9 100644
--- a/target/linux/brcm47xx/image/lzma-loader/src/head.S
+++ b/target/linux/brcm47xx/image/lzma-loader/src/head.S
@@ -38,12 +38,12 @@
.text
LEAF(startup)
.set noreorder
- addi sp, -48
- sw a0, 16(sp)
- sw a1, 20(sp)
- sw a2, 24(sp)
+ addi sp, -48
+ sw a0, 16(sp)
+ sw a1, 20(sp)
+ sw a2, 24(sp)
sw a3, 28(sp)
-
+
/* Copy decompressor code to the right place */
li t2, BZ_TEXT_START
add a0, t2, 0
@@ -56,7 +56,7 @@ $L1:
add a0, 4
blt a1, a2, $L1
nop
-
+
/* At this point we need to invalidate dcache and */
/* icache before jumping to new code */
@@ -103,10 +103,10 @@ $L1:
.set mips0
bne t0,t1,1b
addu t0,s1
-
+
nodc:
/* Now we get to do it all again for the I$ */
-
+
move s3,zero /* just in case there is no icache */
move s4,zero
@@ -155,6 +155,6 @@ noic:
move a2,s1 /* dcache line size */
jal t2
move a3,s2 /* dcache size */
-
+
.set reorder
END(startup)