summaryrefslogtreecommitdiff
path: root/arch/powerpc/include
diff options
context:
space:
mode:
authorAndy Fleming <afleming@freescale.com>2013-03-25 07:33:10 +0000
committerAndy Fleming <afleming@freescale.com>2013-05-14 16:00:24 -0500
commitcd7ad629960bf53eb2d7247ce1d499770b316116 (patch)
tree6d23da72e7bfba9f924498fff82eca94e03b6980 /arch/powerpc/include
parent0cb3325cd3a2f574c0ab73ab83b892c27cacab74 (diff)
downloadu-boot-imx-cd7ad629960bf53eb2d7247ce1d499770b316116.zip
u-boot-imx-cd7ad629960bf53eb2d7247ce1d499770b316116.tar.gz
u-boot-imx-cd7ad629960bf53eb2d7247ce1d499770b316116.tar.bz2
powerpc/mpc85xx: Add definitions for HDBCR registers
Makes it a bit easier to see if we've properly set them. While we're in there, modify the accesses to HDBCR0 and HDBCR1 to actually use those definitions. Signed-off-by: Andy Fleming <afleming@freescale.com>
Diffstat (limited to 'arch/powerpc/include')
-rw-r--r--arch/powerpc/include/asm/processor.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/arch/powerpc/include/asm/processor.h b/arch/powerpc/include/asm/processor.h
index 8c91f08..1ecf266 100644
--- a/arch/powerpc/include/asm/processor.h
+++ b/arch/powerpc/include/asm/processor.h
@@ -575,6 +575,16 @@
#define SPRN_MSSSR0 0x3f7
#endif
+#define SPRN_HDBCR0 0x3d0
+#define SPRN_HDBCR1 0x3d1
+#define SPRN_HDBCR2 0x3d2
+#define SPRN_HDBCR3 0x3d3
+#define SPRN_HDBCR4 0x3d4
+#define SPRN_HDBCR5 0x3d5
+#define SPRN_HDBCR6 0x3d6
+#define SPRN_HDBCR7 0x277
+#define SPRN_HDBCR8 0x278
+
/* Short-hand versions for a number of the above SPRNs */
#define CTR SPRN_CTR /* Counter Register */