From 0961dbfbb89276281b47e80a46071d876aebe7a3 Mon Sep 17 00:00:00 2001 From: "Mark A. Greer" Date: Thu, 15 Nov 2007 06:04:02 +1100 Subject: [PATCH] [POWERPC] prpmc2800: Enable L2 cache Turn on the L2 cache on the prpmc2800 platform. Signed-off-by: Mark A. Greer --- 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 e484cac75095..653a5eb91c90 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; }