Re: [U-Boot] [PATCH 02/15] Clean up usage of icache_disable/dcache_disable

2008-08-18 Thread Wolfgang Denk
Dear Kumar Gala, In message <[EMAIL PROTECTED]> you wrote: > 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_l

[U-Boot] [PATCH 02/15] Clean up usage of icache_disable/dcache_disable

2008-08-15 Thread Kumar Gala
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