brcm47xx: lzma-loader: fix cache invalidation
The current code only partially invalidates both caches because the cache size and cache-line size values are incorrectly passed to the C code. Fix the assembly code to pass the arguments in the correct order. Compile tested only. Signed-off-by: Gabor Juhos <juhosg@openwrt.org> SVN-Revision: 49060
This commit is contained in:
parent
f8933cbd5f
commit
395fff6f8b
1 changed files with 4 additions and 4 deletions
|
@ -150,11 +150,11 @@ nodc:
|
|||
addu t0,s3
|
||||
|
||||
noic:
|
||||
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 */
|
||||
jal t2
|
||||
move a3,s2 /* dcache size */
|
||||
move a3,s1 /* dcache line size */
|
||||
|
||||
.set reorder
|
||||
END(startup)
|
||||
|
|
Loading…
Reference in a new issue