aboutsummaryrefslogtreecommitdiff
path: root/include/common.h
diff options
context:
space:
mode:
authoraneeshv <aneesh@ti.com>2011-08-11 04:35:42 +0000
committerJohn Rigby <john.rigby@linaro.org>2011-08-24 07:10:49 -0600
commitc2166e2481a537d593b5ab1bf347ba6ca1ca4278 (patch)
tree856b339423e9c9d5dfb03e8fa730cecb69290f5a /include/common.h
parent74a88dcd51d09dcb3812f9ebdc2738184c71995b (diff)
arm: do not force d-cache enable on all boards2011.08.5
c2dd0d45540397704de9b13287417d21049d34c6 added dcache_enable() to board_init_r(). This enables d-cache for all ARM boards. As a result some of the arm boards that are not cache-ready are broken. Revert this change and allow platform code to take the decision on d-cache enabling. Also add some documentation for cache usage in ARM. Signed-off-by: Aneesh V <aneesh@ti.com>
Diffstat (limited to 'include/common.h')
-rw-r--r--include/common.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/common.h b/include/common.h
index 0c4a91e0a..cb3599652 100644
--- a/include/common.h
+++ b/include/common.h
@@ -623,6 +623,7 @@ ulong lcd_setmem (ulong);
ulong video_setmem (ulong);
/* arch/$(ARCH)/lib/cache.c */
+void enable_caches(void);
void flush_cache (unsigned long, unsigned long);
void flush_dcache_all(void);
void flush_dcache_range(unsigned long start, unsigned long stop);