[POWERPC] prpmc2800: Enable L2 cache
authorMark A. Greer <mgreer@mvista.com>
Wed, 14 Nov 2007 19:04:02 +0000 (06:04 +1100)
committerPaul Mackerras <paulus@samba.org>
Mon, 19 Nov 2007 04:11:30 +0000 (15:11 +1100)
Turn on the L2 cache on the prpmc2800 platform.

Signed-off-by: Mark A. Greer <mgreer@mvista.com
Signed-off-by: Paul Mackerras <paulus@samba.org>
arch/powerpc/platforms/embedded6xx/prpmc2800.c

index e484cac750955bbdec66800ab00fb832136dfc81..653a5eb91c905049610d7168044c26da5f9e642e 100644 (file)
@@ -144,6 +144,7 @@ static int __init prpmc2800_probe(void)
                strncpy(prpmc2800_platform_name, m,
                        min((int)len, PLATFORM_NAME_MAX - 1));
 
+       _set_L2CR(_get_L2CR() | L2CR_L2E);
        return 1;
 }