diff options
Diffstat (limited to 'include/asm-sh/cpu-sh2a/cache.h')
-rw-r--r-- | include/asm-sh/cpu-sh2a/cache.h | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/include/asm-sh/cpu-sh2a/cache.h b/include/asm-sh/cpu-sh2a/cache.h index 3e4b9e480982..afe228b3f493 100644 --- a/include/asm-sh/cpu-sh2a/cache.h +++ b/include/asm-sh/cpu-sh2a/cache.h | |||
@@ -12,11 +12,13 @@ | |||
12 | 12 | ||
13 | #define L1_CACHE_SHIFT 4 | 13 | #define L1_CACHE_SHIFT 4 |
14 | 14 | ||
15 | #define CCR1 0xfffc1000 | 15 | #define SH_CACHE_VALID 1 |
16 | #define CCR2 0xfffc1004 | 16 | #define SH_CACHE_UPDATED 2 |
17 | #define SH_CACHE_COMBINED 4 | ||
18 | #define SH_CACHE_ASSOC 8 | ||
17 | 19 | ||
18 | /* CCR1 behaves more like the traditional CCR */ | 20 | #define CCR 0xfffc1000 /* CCR1 */ |
19 | #define CCR CCR1 | 21 | #define CCR2 0xfffc1004 |
20 | 22 | ||
21 | /* | 23 | /* |
22 | * Most of the SH-2A CCR1 definitions resemble the SH-4 ones. All others not | 24 | * Most of the SH-2A CCR1 definitions resemble the SH-4 ones. All others not |
@@ -36,4 +38,3 @@ | |||
36 | #define CCR_CACHE_INVALIDATE (CCR_CACHE_OCI | CCR_CACHE_ICI) | 38 | #define CCR_CACHE_INVALIDATE (CCR_CACHE_OCI | CCR_CACHE_ICI) |
37 | 39 | ||
38 | #endif /* __ASM_CPU_SH2A_CACHE_H */ | 40 | #endif /* __ASM_CPU_SH2A_CACHE_H */ |
39 | |||