[POWERPC] prpmc2800: Enable L2 cache

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>
This commit is contained in:
Mark A. Greer 2007-11-15 06:04:02 +11:00 committed by Paul Mackerras
parent 8693208254
commit 0961dbfbb8

View File

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