Skip to content
Snippets Groups Projects
Commit fcd69a1a authored by Kumar Gala's avatar Kumar Gala Committed by Wolfgang Denk
Browse files

Clean up usage of icache_disable/dcache_disable


There is no point in disabling the icache on 7xx/74xx/86xx parts and not
also flushing the icache.  All callers of invalidate_l1_instruction_cache()
call icache_disable() right after.  Make it so icache_disable() calls
invalidate_l1_instruction_cache() for us.

Also, dcache_disable() already calls dcache_flush() so there is no point
in the explicit calls of dcache_flush().

Signed-off-by: default avatarKumar Gala <galak@kernel.crashing.org>
parent a15b0710
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment