Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 0961dbfb authored by Mark A. Greer's avatar Mark A. Greer Committed by Paul Mackerras
Browse files

[POWERPC] prpmc2800: Enable L2 cache



Turn on the L2 cache on the prpmc2800 platform.

Signed-off-by: default avatarMark A. Greer <mgreer@mvista.com>
Signed-off-by: default avatarPaul Mackerras <paulus@samba.org>
parent 86932082
Loading
Loading
Loading
Loading
+1 −0
Original line number Original line Diff line number Diff line
@@ -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;
}
}