Skip to content
Snippets Groups Projects
Forked from Reform / reform-boundary-uboot
Source project has a limited visibility.
  • Kumar Gala's avatar
    fcd69a1a
    Clean up usage of icache_disable/dcache_disable · fcd69a1a
    Kumar Gala authored
    
    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>
    fcd69a1a
    History
    Clean up usage of icache_disable/dcache_disable
    Kumar Gala authored
    
    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>