summaryrefslogtreecommitdiff
path: root/cpu/mpc85xx/start.S
diff options
context:
space:
mode:
authorKumar Gala <galak@kernel.crashing.org>2010-03-29 13:50:31 -0500
committerKumar Gala <galak@kernel.crashing.org>2010-04-07 00:08:17 -0500
commit69bcf5bc80a47acbd62b8cfff932cb12d47997d7 (patch)
tree0bf35a0046f842a40d1b5cb3ddb8317ccbae1146 /cpu/mpc85xx/start.S
parent22c9de064a218ae617bfeea35d2164532df91597 (diff)
downloadu-boot-imx-69bcf5bc80a47acbd62b8cfff932cb12d47997d7.zip
u-boot-imx-69bcf5bc80a47acbd62b8cfff932cb12d47997d7.tar.gz
u-boot-imx-69bcf5bc80a47acbd62b8cfff932cb12d47997d7.tar.bz2
85xx: Add defines for BUCSR bits to make code more readable
Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
Diffstat (limited to 'cpu/mpc85xx/start.S')
-rw-r--r--cpu/mpc85xx/start.S7
1 files changed, 4 insertions, 3 deletions
diff --git a/cpu/mpc85xx/start.S b/cpu/mpc85xx/start.S
index af18c1c..52ea9b3 100644
--- a/cpu/mpc85xx/start.S
+++ b/cpu/mpc85xx/start.S
@@ -1,5 +1,5 @@
/*
- * Copyright 2004, 2007-2009 Freescale Semiconductor, Inc.
+ * Copyright 2004, 2007-2010 Freescale Semiconductor, Inc.
* Copyright (C) 2003 Motorola,Inc.
*
* See file CREDITS for list of people who contributed to this
@@ -213,8 +213,9 @@ _start_e500:
/* Enable Branch Prediction */
#if defined(CONFIG_BTB)
- li r0,0x201 /* BBFI = 1, BPEN = 1 */
- mtspr BUCSR,r0
+ lis r0,BUCSR_ENABLE@h
+ ori r0,r0,BUCSR_ENABLE@l
+ mtspr SPRN_BUCSR,r0
#endif
#if defined(CONFIG_SYS_INIT_DBCR)