summaryrefslogtreecommitdiff
path: root/include/common.h
diff options
context:
space:
mode:
authorStefan Roese <sr@denx.de>2009-01-21 17:20:20 +0100
committerShinya Kuribayashi <skuribay@ruby.dti.ne.jp>2009-01-27 23:06:58 +0900
commit03d3bfb00806b5441f1871c7408c1749863e0fdc (patch)
tree6d77e7ec95dbaa15b0d1aa1aaf89f5f0c39f3932 /include/common.h
parent8f86a3636ef88427f880610638e80991adc41896 (diff)
downloadu-boot-imx-03d3bfb00806b5441f1871c7408c1749863e0fdc.zip
u-boot-imx-03d3bfb00806b5441f1871c7408c1749863e0fdc.tar.gz
u-boot-imx-03d3bfb00806b5441f1871c7408c1749863e0fdc.tar.bz2
MIPS: Add flush_dcache_range() and invalidate_dcache_range()
This patch adds flush_/invalidate_dcache_range() to the MIPS architecture. Those functions are needed for the upcoming dcache support for the USB EHCI driver. I chose this API because those cache handling functions are already present in the PPC architecture. Signed-off-by: Stefan Roese <sr@denx.de> Signed-off-by: Shinya Kuribayashi <skuribay@ruby.dti.ne.jp>
Diffstat (limited to 'include/common.h')
-rw-r--r--include/common.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/common.h b/include/common.h
index 5968036..afee188 100644
--- a/include/common.h
+++ b/include/common.h
@@ -597,6 +597,8 @@ ulong video_setmem (ulong);
/* lib_$(ARCH)/cache.c */
void flush_cache (unsigned long, unsigned long);
+void flush_dcache_range(unsigned long start, unsigned long stop);
+void invalidate_dcache_range(unsigned long start, unsigned long stop);
/* lib_$(ARCH)/ticks.S */