diff options
author | Hirokazu Takata <takata@linux-m32r.org> | 2006-01-06 03:18:41 -0500 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2006-01-06 11:33:43 -0500 |
commit | 9287d95ea194abf32fab24c6909f8ea55ab0292f (patch) | |
tree | 4c00a6866d1da4fac5b5ca3bdb86eb2170a3fbf4 /arch/m32r/mm | |
parent | 60c83c77c4a6a399d55e4f9ad156bccdfe51c96b (diff) |
[PATCH] m32r: Support M32104UT target platform
This patch is for supporting a new target platform, Renesas M32104UT
evaluation board.
The M32104UT is an eval board based on an uT-Engine specification. This board
has an MMU-less M32R family processor, M32104.
http://www-wa0.personal-media.co.jp/pmc/archive/te/te_m32104_e.pdf
This board is one of the most popular M32R platform, so we have ported
Linux/M32R to it.
Signed-off-by: Naoto Sugai <Sugai.Naoto@ak.MitsubishiElectric.co.jp>
Signed-off-by: Hirokazu Takata <takata@linux-m32r.org>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'arch/m32r/mm')
-rw-r--r-- | arch/m32r/mm/cache.c | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/arch/m32r/mm/cache.c b/arch/m32r/mm/cache.c index 31b0789c1992..c6f72a64ae12 100644 --- a/arch/m32r/mm/cache.c +++ b/arch/m32r/mm/cache.c | |||
@@ -26,6 +26,16 @@ | |||
26 | #define MCCR ((volatile unsigned char*)0xfffffffe) | 26 | #define MCCR ((volatile unsigned char*)0xfffffffe) |
27 | #define MCCR_IIV (1UL << 0) /* I-cache invalidate */ | 27 | #define MCCR_IIV (1UL << 0) /* I-cache invalidate */ |
28 | #define MCCR_ICACHE_INV MCCR_IIV | 28 | #define MCCR_ICACHE_INV MCCR_IIV |
29 | #elif defined(CONFIG_CHIP_M32104) | ||
30 | #define MCCR ((volatile unsigned long*)0xfffffffc) | ||
31 | #define MCCR_IIV (1UL << 8) /* I-cache invalidate */ | ||
32 | #define MCCR_DIV (1UL << 9) /* D-cache invalidate */ | ||
33 | #define MCCR_DCB (1UL << 10) /* D-cache copy back */ | ||
34 | #define MCCR_ICM (1UL << 0) /* I-cache mode [0:off,1:on] */ | ||
35 | #define MCCR_DCM (1UL << 1) /* D-cache mode [0:off,1:on] */ | ||
36 | #define MCCR_ICACHE_INV MCCR_IIV | ||
37 | #define MCCR_DCACHE_CB MCCR_DCB | ||
38 | #define MCCR_DCACHE_CBINV (MCCR_DIV|MCCR_DCB) | ||
29 | #endif /* CONFIG_CHIP_XNUX2 || CONFIG_CHIP_M32700 */ | 39 | #endif /* CONFIG_CHIP_XNUX2 || CONFIG_CHIP_M32700 */ |
30 | 40 | ||
31 | #ifndef MCCR | 41 | #ifndef MCCR |