diff --git a/target/linux/adm5120/image/lzma-loader/src/head.S b/target/linux/adm5120/image/lzma-loader/src/head.S
index 329f437382e03d0f4e6f1f262d44d2fb7ad2550e..9f82fabdc292b0a90f42ce33dc6fea2972529efa 100644
--- a/target/linux/adm5120/image/lzma-loader/src/head.S
+++ b/target/linux/adm5120/image/lzma-loader/src/head.S
@@ -195,10 +195,10 @@ noic:
 	sw	a2, 8(sp)
 	sw	a3, 12(sp)
 #endif
-	sw	s3, 16(sp)		/* icache line size */
-	sw	s4, 20(sp)		/* icache size */
-	sw	s1, 24(sp)		/* dcache line size */
-	sw	s2, 28(sp)		/* dcache size */
+	sw	s4, 16(sp)		/* icache size */
+	sw	s3, 20(sp)		/* icache line size */
+	sw	s2, 24(sp)		/* dcache size */
+	sw	s1, 28(sp)		/* dcache line size */
 
 	/* jump to the decompressor routine */
 	la	t0, decompress_entry