]> git.ipfire.org Git - people/ms/u-boot.git/blobdiff - arch/arc/include/asm/cache.h
arc: add support for SLC (System Level Cache, AKA L2-cache)
[people/ms/u-boot.git] / arch / arc / include / asm / cache.h
index 8a77cd93af2c1d317e7813e83a2e154233ead8eb..0b3ebd9f58555a54ad284f28fcaa6ca6bb2b797f 100644 (file)
 #define CONFIG_ARC_MMU_VER 4
 #endif
 
+#ifndef __ASSEMBLY__
+
+#ifdef CONFIG_ISA_ARCV2
+void slc_enable(void);
+void slc_disable(void);
+void slc_flush(void);
+void slc_invalidate(void);
+#endif
+
+#endif /* __ASSEMBLY__ */
+
 #endif /* __ASM_ARC_CACHE_H */