commit | 0687e3081cf620b6a332859ed45f148ee5331b8b | [log] [tgz] |
---|---|---|
author | Kumar Gala <galak@kernel.crashing.org> | Fri Aug 15 08:24:32 2008 -0500 |
committer | Wolfgang Denk <wd@denx.de> | Tue Aug 19 00:57:28 2008 +0200 |
tree | dcd7a78e4dffdc7b0d1ad53da21345aa5887ca63 | |
parent | dcdcfea3e7fccc2bb1d88667e12875696b211472 [diff] |
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: Kumar Gala <galak@kernel.crashing.org>