aboutsummaryrefslogtreecommitdiff
path: root/include/asm-sh/cpu-sh2/cache.h
diff options
context:
space:
mode:
authorPaul Mundt <lethal@linux-sh.org>2007-11-08 18:44:09 +0900
committerPaul Mundt <lethal@linux-sh.org>2008-01-28 13:18:38 +0900
commit8d5fb297cc8f9f7de2840864e497bc38330abba6 (patch)
tree61322fbbf95ce02923da6b568de559778cc59b18 /include/asm-sh/cpu-sh2/cache.h
parent5a668651bf0da3891c46ea2cfcac227ded783a5a (diff)
sh: Split out cache status bits per-CPU family.
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
Diffstat (limited to 'include/asm-sh/cpu-sh2/cache.h')
-rw-r--r--include/asm-sh/cpu-sh2/cache.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/include/asm-sh/cpu-sh2/cache.h b/include/asm-sh/cpu-sh2/cache.h
index f02ba7a672b..66388ce16c3 100644
--- a/include/asm-sh/cpu-sh2/cache.h
+++ b/include/asm-sh/cpu-sh2/cache.h
@@ -12,6 +12,11 @@
#define L1_CACHE_SHIFT 4
+#define SH_CACHE_VALID 1
+#define SH_CACHE_UPDATED 2
+#define SH_CACHE_COMBINED 4
+#define SH_CACHE_ASSOC 8
+
#if defined(CONFIG_CPU_SUBTYPE_SH7619)
#define CCR1 0xffffffec
#define CCR CCR1