summaryrefslogtreecommitdiff
path: root/include/asm-ppc/processor.h
diff options
context:
space:
mode:
authorRafal Jaworowski <raj@semihalf.com>2007-07-19 15:12:28 (GMT)
committerDetlev Zundel <dzu@denx.de>2007-07-19 15:12:28 (GMT)
commitcc3023b9f95d7ac959a764471a65001062aecf41 (patch)
tree83d1a1a42300337f78b3db4ee175b251153c20e0 /include/asm-ppc/processor.h
parent3a6cab844cf74f76639d795e0be8717e02c86af7 (diff)
downloadu-boot-cc3023b9f95d7ac959a764471a65001062aecf41.tar.xz
Fix breakage of 8xx boards from recent commit.
This patch fixes the negative consequences for 8xx of the recent "ppc4xx: Clean up 440 exceptions handling" commit. Signed-off-by: Rafal Jaworowski <raj@semihalf.com>
Diffstat (limited to 'include/asm-ppc/processor.h')
-rw-r--r--include/asm-ppc/processor.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/include/asm-ppc/processor.h b/include/asm-ppc/processor.h
index 9780fe1..4898dd4 100644
--- a/include/asm-ppc/processor.h
+++ b/include/asm-ppc/processor.h
@@ -628,6 +628,12 @@
#define MAS6 SPRN_MAS6
#define MAS7 SPRN_MAS7
+#if defined(CONFIG_4xx) || defined(CONFIG_44x) || defined(CONFIG_MPC85xx)
+#define DAR_DEAR DEAR
+#else
+#define DAR_DEAR DAR
+#endif
+
/* Device Control Registers */
#define DCRN_BEAR 0x090 /* Bus Error Address Register */