* [PATCH] powerpc: prpmc2800 - Enable L2 cache
@ 2007-11-14 19:04 Mark A. Greer
0 siblings, 0 replies; only message in thread
From: Mark A. Greer @ 2007-11-14 19:04 UTC (permalink / raw)
To: linuxppc-dev
From: Mark A. Greer <mgreer@mvista.com>
Turn on the L2 cache on the prpmc2800 platform.
Signed-off-by: Mark A. Greer <mgreer@mvista.com
---
arch/powerpc/platforms/embedded6xx/prpmc2800.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/arch/powerpc/platforms/embedded6xx/prpmc2800.c b/arch/powerpc/platforms/embedded6xx/prpmc2800.c
index e484cac..653a5eb 100644
--- a/arch/powerpc/platforms/embedded6xx/prpmc2800.c
+++ b/arch/powerpc/platforms/embedded6xx/prpmc2800.c
@@ -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;
}
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2007-11-14 19:04 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-11-14 19:04 [PATCH] powerpc: prpmc2800 - Enable L2 cache Mark A. Greer
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox