]> git.sur5r.net Git - u-boot/blobdiff - arch/powerpc/include/asm/cache.h
Merge branch 'master' of git://git.denx.de/u-boot-video
[u-boot] / arch / powerpc / include / asm / cache.h
index 5f9c640aa2aff83a4d43cb1a62e1d65b464b7075..d3a83910b6fce2c6449d30fa040f4b7c596686b2 100644 (file)
@@ -4,7 +4,6 @@
 #ifndef __ARCH_PPC_CACHE_H
 #define __ARCH_PPC_CACHE_H
 
-#include <linux/config.h>
 #include <asm/processor.h>
 
 /* bytes per L1 cache line */
@@ -58,6 +57,12 @@ extern void unlock_ram_in_cache(void);
 #endif /* CONFIG_SYS_INIT_RAM_LOCK */
 #endif /* __ASSEMBLY__ */
 
+#if defined(__KERNEL__) && !defined(__ASSEMBLY__)
+int l2cache_init(void);
+void enable_cpc(void);
+void disable_cpc_sram(void);
+#endif
+
 /* prep registers for L2 */
 #define CACHECRBA       0x80000823      /* Cache configuration register address */
 #define L2CACHE_MASK   0x03    /* Mask for 2 L2 Cache bits */