diff options
author | Kuninori Morimoto <morimoto.kuninori@renesas.com> | 2009-05-29 03:41:23 -0400 |
---|---|---|
committer | Paul Mundt <lethal@linux-sh.org> | 2009-06-01 02:59:03 -0400 |
commit | 98fbe45bea77c1804eae0e71f27673db1824a2a8 (patch) | |
tree | 75ebec05b862b7c57ecde5f422aa8b1542b56e27 /arch/sh/kernel/cpu | |
parent | 1823f6d5e6b81cca6542ed2e5f30d2556aad0f67 (diff) |
sh: SH7724 has an L2 cache.
Add the CPU_HAS_L2_CACHE flag to SH7724.
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')
-rw-r--r-- | arch/sh/kernel/cpu/sh4/probe.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/sh/kernel/cpu/sh4/probe.c b/arch/sh/kernel/cpu/sh4/probe.c index 973ff831c8a8..7d821ce8434f 100644 --- a/arch/sh/kernel/cpu/sh4/probe.c +++ b/arch/sh/kernel/cpu/sh4/probe.c | |||
@@ -160,7 +160,7 @@ int __init detect_cpu_and_cache_system(void) | |||
160 | boot_cpu_data.type = CPU_SH7724; | 160 | boot_cpu_data.type = CPU_SH7724; |
161 | boot_cpu_data.icache.ways = 4; | 161 | boot_cpu_data.icache.ways = 4; |
162 | boot_cpu_data.dcache.ways = 4; | 162 | boot_cpu_data.dcache.ways = 4; |
163 | boot_cpu_data.flags |= CPU_HAS_LLSC | CPU_HAS_FPU; | 163 | boot_cpu_data.flags |= CPU_HAS_LLSC | CPU_HAS_FPU | CPU_HAS_L2_CACHE; |
164 | break; | 164 | break; |
165 | case 0x4000: /* 1st cut */ | 165 | case 0x4000: /* 1st cut */ |
166 | case 0x4001: /* 2nd cut */ | 166 | case 0x4001: /* 2nd cut */ |