MIPS: Fix invalidate_dcache_range to operate on L1 Dcache
Commitfb64cda579
("MIPS: Abstract cache op loops with a macro") accidentally modified invalidate_dcache_range to operate on the L1 Icache instead of the Dcache. Fix the cache op used to operate on the Dcache. Signed-off-by: Paul Burton <paul.burton@imgtec.com> Fixes:fb64cda579
("MIPS: Abstract cache op loops with a macro")
This commit is contained in:
parent
6b3943f1b0
commit
a95800e881
@ -91,5 +91,5 @@ void invalidate_dcache_range(ulong start_addr, ulong stop)
|
||||
if (start_addr == stop)
|
||||
return;
|
||||
|
||||
cache_loop(start_addr, stop, lsize, HIT_INVALIDATE_I);
|
||||
cache_loop(start_addr, stop, lsize, HIT_INVALIDATE_D);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user