]> git.sur5r.net Git - u-boot/blobdiff - arch/mips/include/asm/cache.h
MIPS: Probe cache line sizes once during boot
[u-boot] / arch / mips / include / asm / cache.h
index 0cea581e5d8cd1575653c0730fdc32790b01321a..669c362a52a563ab6f7dfcf43188b8559644b69d 100644 (file)
  */
 #define CONFIG_SYS_CACHELINE_SIZE ARCH_DMA_MINALIGN
 
+/**
+ * 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 /* __MIPS_CACHE_H__ */