sh: SH7724 has an L2 cache.
authorKuninori Morimoto <morimoto.kuninori@renesas.com>
Fri, 29 May 2009 07:41:23 +0000 (07:41 +0000)
committerPaul Mundt <lethal@linux-sh.org>
Mon, 1 Jun 2009 06:59:03 +0000 (15:59 +0900)
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>
arch/sh/kernel/cpu/sh4/probe.c

index 973ff83..7d821ce 100644 (file)
@@ -160,7 +160,7 @@ int __init detect_cpu_and_cache_system(void)
                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;
+               boot_cpu_data.flags |= CPU_HAS_LLSC | CPU_HAS_FPU | CPU_HAS_L2_CACHE;
                break;
        case 0x4000:    /* 1st cut */
        case 0x4001:    /* 2nd cut */