diff options
| author | Kumar Gala <[email protected]> | 2008-09-22 14:11:10 -0500 |
|---|---|---|
| committer | Wolfgang Denk <[email protected]> | 2008-10-18 21:54:04 +0200 |
| commit | 54e091d3b603a3332c619199ca83a07e95960da4 (patch) | |
| tree | d0bfa1b0ba3703150b2a368abb861dafa9cd0bb8 /include | |
| parent | 6250f0f6297c5ba9aecdea6290799a95c5d4b1da (diff) | |
85xx: Export invalidate_{i,d}cache and add flush_dcache
Added the ability for C code to invalidate the i/d-cache's and
to flush the d-cache. This allows us to more efficient change mappings
from cache-able to cache-inhibited.
Signed-off-by: Kumar Gala <[email protected]>
Diffstat (limited to 'include')
| -rw-r--r-- | include/asm-ppc/cache.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/asm-ppc/cache.h b/include/asm-ppc/cache.h index 3d5f3f7241a..7252be7db2d 100644 --- a/include/asm-ppc/cache.h +++ b/include/asm-ppc/cache.h @@ -44,6 +44,7 @@ extern void clean_dcache_range(unsigned long start, unsigned long stop); extern void invalidate_dcache_range(unsigned long start, unsigned long stop); extern void flush_dcache(void); extern void invalidate_dcache(void); +extern void invalidate_icache(void); #ifdef CONFIG_SYS_INIT_RAM_LOCK extern void unlock_ram_in_cache(void); #endif /* CONFIG_SYS_INIT_RAM_LOCK */ |
