diff options
author | Yoshinori Sato <ysato@users.sourceforge.jp> | 2008-08-04 16:33:47 +0900 |
---|---|---|
committer | Paul Mundt <lethal@linux-sh.org> | 2008-08-04 16:33:47 +0900 |
commit | cce2d453e4940d3fccd42a6917d01027148e11c3 (patch) | |
tree | bf921bfd41e4a40e513a1994d474e03f44089c0e /arch/sh/include/cpu-sh2a/cpu/cache.h | |
parent | 1af446edfe3239b2b731f3458b3c285c397464cc (diff) | |
download | kernel-crypto-cce2d453e4940d3fccd42a6917d01027148e11c3.tar.gz kernel-crypto-cce2d453e4940d3fccd42a6917d01027148e11c3.tar.xz kernel-crypto-cce2d453e4940d3fccd42a6917d01027148e11c3.zip |
SH2(A) cache update
Includes:
- SH2 (7619) Writeback support.
- SH2A cache handling fix.
Signed-off-by: Yoshinori Sato <ysato@users.sourceforge.jp>
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
Diffstat (limited to 'arch/sh/include/cpu-sh2a/cpu/cache.h')
-rw-r--r-- | arch/sh/include/cpu-sh2a/cpu/cache.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/arch/sh/include/cpu-sh2a/cpu/cache.h b/arch/sh/include/cpu-sh2a/cpu/cache.h index afe228b3f49..defb0baa5a0 100644 --- a/arch/sh/include/cpu-sh2a/cpu/cache.h +++ b/arch/sh/include/cpu-sh2a/cpu/cache.h @@ -36,5 +36,8 @@ #define CCR_CACHE_ENABLE (CCR_CACHE_OCE | CCR_CACHE_ICE) #define CCR_CACHE_INVALIDATE (CCR_CACHE_OCI | CCR_CACHE_ICI) +#define CCR_ICACHE_INVALIDATE CCR_CACHE_ICI +#define CCR_OCACHE_INVALIDATE CCR_CACHE_OCI +#define CACHE_PHYSADDR_MASK 0x1ffffc00 #endif /* __ASM_CPU_SH2A_CACHE_H */ |