summaryrefslogtreecommitdiff
path: root/include/asm-ppc
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 /include/asm-ppc
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 'include/asm-ppc')
-rw-r--r--include/asm-ppc/processor.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/asm-ppc/processor.h b/include/asm-ppc/processor.h
index 9b3d616..4134f18 100644
--- a/include/asm-ppc/processor.h
+++ b/include/asm-ppc/processor.h
@@ -533,6 +533,9 @@
#define SPRN_MCSRR0 0x23a /* Machine Check Save and Restore Register 0 */
#define SPRN_MCSRR1 0x23b /* Machine Check Save and Restore Register 1 */
#define SPRN_BUCSR 0x3f5 /* Branch Control and Status Register */
+#define BUCSR_BBFI 0x00000200 /* Branch buffer flash invalidate */
+#define BUCSR_BPEN 0x00000001 /* Branch prediction enable */
+#define BUCSR_ENABLE (BUCSR_BBFI|BUCSR_BPEN)
#define SPRN_BBEAR 0x201 /* Branch Buffer Entry Address Register */
#define SPRN_BBTAR 0x202 /* Branch Buffer Target Address Register */
#define SPRN_PID1 0x279 /* Process ID Register 1 */