forked from Minki/linux
[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:
parent
8693208254
commit
0961dbfbb8
@ -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;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user