diff options
author | Kuninori Morimoto <morimoto.kuninori@renesas.com> | 2009-04-16 14:40:56 +0900 |
---|---|---|
committer | Paul Mundt <lethal@linux-sh.org> | 2009-04-16 14:40:56 +0900 |
commit | 0207a2efb43d81e29e23662b5d035945688a103f (patch) | |
tree | b43cf6b34fd5c5d1f837c2915e4e055cbfb13883 /arch/sh/kernel/cpu/sh4/probe.c | |
parent | 3ee8da87ba6151ec91b2b8bbd27633bb248ea0d5 (diff) | |
download | kernel_samsung_smdk4412-0207a2efb43d81e29e23662b5d035945688a103f.zip kernel_samsung_smdk4412-0207a2efb43d81e29e23662b5d035945688a103f.tar.gz kernel_samsung_smdk4412-0207a2efb43d81e29e23662b5d035945688a103f.tar.bz2 |
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 91e3677..973ff83 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) break; } break; + case 0x300b: + boot_cpu_data.type = CPU_SH7724; + boot_cpu_data.icache.ways = 4; + boot_cpu_data.dcache.ways = 4; + boot_cpu_data.flags |= CPU_HAS_LLSC | CPU_HAS_FPU; + break; case 0x4000: /* 1st cut */ case 0x4001: /* 2nd cut */ boot_cpu_data.type = CPU_SHX3; |