Skip to content

Commit 98fbe45

Browse files
Kuninori Morimotopmundt
authored andcommitted
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>
1 parent 1823f6d commit 98fbe45

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎arch/sh/kernel/cpu/sh4/probe.c‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -160,7 +160,7 @@ int __init detect_cpu_and_cache_system(void)
160160
boot_cpu_data.type = CPU_SH7724;
161161
boot_cpu_data.icache.ways = 4;
162162
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;
164164
break;
165165
case 0x4000: /* 1st cut */
166166
case 0x4001: /* 2nd cut */

0 commit comments

Comments
 (0)