diff options
author | Kuninori Morimoto <morimoto.kuninori@renesas.com> | 2009-04-16 01:40:56 -0400 |
---|---|---|
committer | Paul Mundt <lethal@linux-sh.org> | 2009-04-16 01:40:56 -0400 |
commit | 0207a2efb43d81e29e23662b5d035945688a103f (patch) | |
tree | b43cf6b34fd5c5d1f837c2915e4e055cbfb13883 /arch/sh/kernel/cpu/sh4/probe.c | |
parent | 3ee8da87ba6151ec91b2b8bbd27633bb248ea0d5 (diff) |
sh: Add support for SH7724 (SH-Mobile R2R) CPU subtype.
This implements initial support for the SH-Mobile R2R CPU.
Based on Rev 0.11 of the initial SH7724 hardware manual.
Signed-off-by: Kuninori Morimoto <morimoto.kuninori@renesas.com>
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
Diffstat (limited to 'arch/sh/kernel/cpu/sh4/probe.c')
-rw-r--r-- | arch/sh/kernel/cpu/sh4/probe.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/arch/sh/kernel/cpu/sh4/probe.c b/arch/sh/kernel/cpu/sh4/probe.c index 91e3677ae09d..973ff831c8a8 100644 --- a/arch/sh/kernel/cpu/sh4/probe.c +++ b/arch/sh/kernel/cpu/sh4/probe.c | |||
@@ -156,6 +156,12 @@ int __init detect_cpu_and_cache_system(void) | |||
156 | break; | 156 | break; |
157 | } | 157 | } |
158 | break; | 158 | break; |
159 | case 0x300b: | ||
160 | boot_cpu_data.type = CPU_SH7724; | ||
161 | boot_cpu_data.icache.ways = 4; | ||
162 | boot_cpu_data.dcache.ways = 4; | ||
163 | boot_cpu_data.flags |= CPU_HAS_LLSC | CPU_HAS_FPU; | ||
164 | break; | ||
159 | case 0x4000: /* 1st cut */ | 165 | case 0x4000: /* 1st cut */ |
160 | case 0x4001: /* 2nd cut */ | 166 | case 0x4001: /* 2nd cut */ |
161 | boot_cpu_data.type = CPU_SHX3; | 167 | boot_cpu_data.type = CPU_SHX3; |