summaryrefslogtreecommitdiffstats
path: root/include/asm-sh/cpu-sh2a
diff options
context:
space:
mode:
authorPaul Mundt <lethal@linux-sh.org>2007-11-08 10:44:09 +0100
committerPaul Mundt <lethal@linux-sh.org>2008-01-28 05:18:38 +0100
commit8d5fb297cc8f9f7de2840864e497bc38330abba6 (patch)
tree61322fbbf95ce02923da6b568de559778cc59b18 /include/asm-sh/cpu-sh2a
parentsh: Split out PXSEG segmentation per-CPU family. (diff)
downloadlinux-8d5fb297cc8f9f7de2840864e497bc38330abba6.tar.xz
linux-8d5fb297cc8f9f7de2840864e497bc38330abba6.zip
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-sh2a')
-rw-r--r--include/asm-sh/cpu-sh2a/cache.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/include/asm-sh/cpu-sh2a/cache.h b/include/asm-sh/cpu-sh2a/cache.h
index 3e4b9e480982..d88774169b58 100644
--- a/include/asm-sh/cpu-sh2a/cache.h
+++ b/include/asm-sh/cpu-sh2a/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
+
#define CCR1 0xfffc1000
#define CCR2 0xfffc1004