From 0274919bf6853b7a437025a8abf6624b824b3d91 Mon Sep 17 00:00:00 2001 From: David Hendricks Date: Tue, 12 Mar 2013 22:00:43 -0700 Subject: exynos5250/snow: enable branch prediction This enables branch prediction. We can probably find a better place to do this, but for now we'll do it in snow's romstage main(). Change-Id: I86c7b6bc9e897a7a432c490fb96a126e81b8ce72 Signed-off-by: David Hendricks Reviewed-on: http://review.coreboot.org/2701 Tested-by: build bot (Jenkins) Reviewed-by: Ronald G. Minnich --- src/cpu/samsung/exynos5250/bootblock.c | 16 ---------------- 1 file changed, 16 deletions(-) (limited to 'src/cpu/samsung/exynos5250/bootblock.c') diff --git a/src/cpu/samsung/exynos5250/bootblock.c b/src/cpu/samsung/exynos5250/bootblock.c index 0fbc857834..949468fbef 100644 --- a/src/cpu/samsung/exynos5250/bootblock.c +++ b/src/cpu/samsung/exynos5250/bootblock.c @@ -17,22 +17,6 @@ * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ -#if 0 -/* - * Set/clear program flow prediction and return the previous state. - */ -static int config_branch_prediction(int set_cr_z) -{ - unsigned int cr; - - /* System Control Register: 11th bit Z Branch prediction enable */ - cr = get_cr(); - set_cr(set_cr_z ? cr | CR_Z : cr & ~CR_Z); - - return cr & CR_Z; -} -#endif - void bootblock_cpu_init(void); void bootblock_cpu_init(void) { -- cgit v1.2.3