generic: lzma-loader: fix cache invalidation
[openwrt-working-2016/.git] / target / linux / generic / image / lzma-loader / src / start.S
index 827458017e1b67d87e2cf1f730bb2f1e8247d63a..f025dabeddb6558b213a8ddd8788d82b9fcf662c 100644 (file)
@@ -145,15 +145,15 @@ nodc:
        addu    t0,s3
 noic:
        /* jump to main */
-       move    a0,s3                   /* icache line size */
-       move    a1,s4                   /* icache size */
-       move    a2,s1                   /* dcache line size */
+       move    a0,s4                   /* icache size */
+       move    a1,s3                   /* icache line size */
+       move    a2,s2                   /* dcache size */
 #ifdef IMAGE_COPY
        jal             t2
 #else
        jal     entry
 #endif
-       move    a3,s2                   /* dcache size */
+       move    a3,s1                   /* dcache line size */
 
        .set reorder
 END(_start)