summaryrefslogtreecommitdiff
path: root/include/asm-ppc
diff options
context:
space:
mode:
authorKumar Gala <galak@kernel.crashing.org>2008-09-22 14:11:10 -0500
committerWolfgang Denk <wd@denx.de>2008-10-18 21:54:04 +0200
commit54e091d3b603a3332c619199ca83a07e95960da4 (patch)
treed0bfa1b0ba3703150b2a368abb861dafa9cd0bb8 /include/asm-ppc
parent6250f0f6297c5ba9aecdea6290799a95c5d4b1da (diff)
downloadu-boot-imx-54e091d3b603a3332c619199ca83a07e95960da4.zip
u-boot-imx-54e091d3b603a3332c619199ca83a07e95960da4.tar.gz
u-boot-imx-54e091d3b603a3332c619199ca83a07e95960da4.tar.bz2
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/asm-ppc')
-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 */