diff options
Diffstat (limited to 'arch/ppc/syslib/ibm44x_common.c')
-rw-r--r-- | arch/ppc/syslib/ibm44x_common.c | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/arch/ppc/syslib/ibm44x_common.c b/arch/ppc/syslib/ibm44x_common.c index 5152c8e41340..71db11d22158 100644 --- a/arch/ppc/syslib/ibm44x_common.c +++ b/arch/ppc/syslib/ibm44x_common.c | |||
@@ -20,6 +20,7 @@ | |||
20 | #include <linux/types.h> | 20 | #include <linux/types.h> |
21 | #include <linux/serial.h> | 21 | #include <linux/serial.h> |
22 | #include <linux/module.h> | 22 | #include <linux/module.h> |
23 | #include <linux/initrd.h> | ||
23 | 24 | ||
24 | #include <asm/ibm44x.h> | 25 | #include <asm/ibm44x.h> |
25 | #include <asm/mmu.h> | 26 | #include <asm/mmu.h> |
@@ -214,9 +215,20 @@ void __init ibm44x_platform_init(unsigned long r3, unsigned long r4, unsigned lo | |||
214 | /* Called from machine_check_exception */ | 215 | /* Called from machine_check_exception */ |
215 | void platform_machine_check(struct pt_regs *regs) | 216 | void platform_machine_check(struct pt_regs *regs) |
216 | { | 217 | { |
218 | #if defined(CONFIG_440SP) || defined(CONFIG_440SPE) | ||
219 | printk("PLB0: BEAR=0x%08x%08x ACR= 0x%08x BESR= 0x%08x%08x\n", | ||
220 | mfdcr(DCRN_PLB0_BEARH), mfdcr(DCRN_PLB0_BEARL), | ||
221 | mfdcr(DCRN_PLB0_ACR), mfdcr(DCRN_PLB0_BESRH), | ||
222 | mfdcr(DCRN_PLB0_BESRL)); | ||
223 | printk("PLB1: BEAR=0x%08x%08x ACR= 0x%08x BESR= 0x%08x%08x\n", | ||
224 | mfdcr(DCRN_PLB1_BEARH), mfdcr(DCRN_PLB1_BEARL), | ||
225 | mfdcr(DCRN_PLB1_ACR), mfdcr(DCRN_PLB1_BESRH), | ||
226 | mfdcr(DCRN_PLB1_BESRL)); | ||
227 | #else | ||
217 | printk("PLB0: BEAR=0x%08x%08x ACR= 0x%08x BESR= 0x%08x\n", | 228 | printk("PLB0: BEAR=0x%08x%08x ACR= 0x%08x BESR= 0x%08x\n", |
218 | mfdcr(DCRN_PLB0_BEARH), mfdcr(DCRN_PLB0_BEARL), | 229 | mfdcr(DCRN_PLB0_BEARH), mfdcr(DCRN_PLB0_BEARL), |
219 | mfdcr(DCRN_PLB0_ACR), mfdcr(DCRN_PLB0_BESR)); | 230 | mfdcr(DCRN_PLB0_ACR), mfdcr(DCRN_PLB0_BESR)); |
231 | #endif | ||
220 | printk("POB0: BEAR=0x%08x%08x BESR0=0x%08x BESR1=0x%08x\n", | 232 | printk("POB0: BEAR=0x%08x%08x BESR0=0x%08x BESR1=0x%08x\n", |
221 | mfdcr(DCRN_POB0_BEARH), mfdcr(DCRN_POB0_BEARL), | 233 | mfdcr(DCRN_POB0_BEARH), mfdcr(DCRN_POB0_BEARL), |
222 | mfdcr(DCRN_POB0_BESR0), mfdcr(DCRN_POB0_BESR1)); | 234 | mfdcr(DCRN_POB0_BESR0), mfdcr(DCRN_POB0_BESR1)); |