diff options
author | Kuninori Morimoto <morimoto.kuninori@renesas.com> | 2009-03-03 01:40:25 -0500 |
---|---|---|
committer | Paul Mundt <lethal@linux-sh.org> | 2009-03-03 01:40:25 -0500 |
commit | 55ba99eb211a06709237cb322ecd8c8b6faf6159 (patch) | |
tree | dc22ab87110e3e8fd26496fe6eebfbf261cc6c62 /arch/sh/kernel/cpu/sh4 | |
parent | 93fde774546c947ac8563da431f0a6d47452551d (diff) |
sh: Add support for SH7786 CPU subtype.
This adds preliminary support for the SH7786 CPU subtype.
While this is a dual-core CPU, only UP is supported for now. L2 cache
support is likewise not yet implemented.
More information on this particular CPU subtype is available at:
http://www.renesas.com/fmwk.jsp?cnt=sh7786_root.jsp&fp=/products/mpumcu/superh_family/sh7780_series/sh7786_group/
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')
-rw-r--r-- | arch/sh/kernel/cpu/sh4/probe.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/arch/sh/kernel/cpu/sh4/probe.c b/arch/sh/kernel/cpu/sh4/probe.c index 2e42572b1b11..2bd0ec962639 100644 --- a/arch/sh/kernel/cpu/sh4/probe.c +++ b/arch/sh/kernel/cpu/sh4/probe.c | |||
@@ -129,6 +129,13 @@ int __init detect_cpu_and_cache_system(void) | |||
129 | boot_cpu_data.flags |= CPU_HAS_FPU | CPU_HAS_PERF_COUNTER | | 129 | boot_cpu_data.flags |= CPU_HAS_FPU | CPU_HAS_PERF_COUNTER | |
130 | CPU_HAS_LLSC; | 130 | CPU_HAS_LLSC; |
131 | break; | 131 | break; |
132 | case 0x4004: | ||
133 | boot_cpu_data.type = CPU_SH7786; | ||
134 | boot_cpu_data.icache.ways = 4; | ||
135 | boot_cpu_data.dcache.ways = 4; | ||
136 | boot_cpu_data.flags |= CPU_HAS_FPU | CPU_HAS_PERF_COUNTER | | ||
137 | CPU_HAS_LLSC; | ||
138 | break; | ||
132 | case 0x3008: | 139 | case 0x3008: |
133 | boot_cpu_data.icache.ways = 4; | 140 | boot_cpu_data.icache.ways = 4; |
134 | boot_cpu_data.dcache.ways = 4; | 141 | boot_cpu_data.dcache.ways = 4; |