aboutsummaryrefslogtreecommitdiff
path: root/include/asm-cris/arch-v10/cache.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/asm-cris/arch-v10/cache.h')
-rw-r--r--include/asm-cris/arch-v10/cache.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/include/asm-cris/arch-v10/cache.h b/include/asm-cris/arch-v10/cache.h
new file mode 100644
index 00000000000..1d1d1ba65b1
--- /dev/null
+++ b/include/asm-cris/arch-v10/cache.h
@@ -0,0 +1,9 @@
+#ifndef _ASM_ARCH_CACHE_H
+#define _ASM_ARCH_CACHE_H
+
+/* Etrax 100LX have 32-byte cache-lines. */
+#define L1_CACHE_BYTES 32
+#define L1_CACHE_SHIFT 5
+#define L1_CACHE_SHIFT_MAX 5
+
+#endif /* _ASM_ARCH_CACHE_H */