]> git.sur5r.net Git - u-boot/blobdiff - arch/mips/include/asm/cache.h
mips: Let cache.h be included from assembly source
[u-boot] / arch / mips / include / asm / cache.h
index 0cea581e5d8cd1575653c0730fdc32790b01321a..83165d5c9705fcc2f41eb501eb363b15e556aba3 100644 (file)
  */
 #define CONFIG_SYS_CACHELINE_SIZE ARCH_DMA_MINALIGN
 
+#ifndef __ASSEMBLY__
+/**
+ * mips_cache_probe() - Probe the properties of the caches
+ *
+ * Call this to probe the properties such as line sizes of the caches
+ * present in the system, if any. This must be done before cache maintenance
+ * functions such as flush_cache may be called.
+ */
+void mips_cache_probe(void);
+#endif
+
 #endif /* __MIPS_CACHE_H__ */