summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorKumar Gala <galak@kernel.crashing.org>2008-09-22 19:11:10 (GMT)
committerWolfgang Denk <wd@denx.de>2008-10-18 19:54:04 (GMT)
commit54e091d3b603a3332c619199ca83a07e95960da4 (patch)
treed0bfa1b0ba3703150b2a368abb861dafa9cd0bb8 /include
parent6250f0f6297c5ba9aecdea6290799a95c5d4b1da (diff)
downloadu-boot-fsl-qoriq-54e091d3b603a3332c619199ca83a07e95960da4.tar.xz
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 <galak@kernel.crashing.org>
Diffstat (limited to 'include')
-rw-r--r--include/asm-ppc/cache.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/asm-ppc/cache.h b/include/asm-ppc/cache.h
index 3d5f3f7..7252be7 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 */