summaryrefslogtreecommitdiff
path: root/cpu/mpc8260/traps.c
diff options
context:
space:
mode:
Diffstat (limited to 'cpu/mpc8260/traps.c')
-rw-r--r--cpu/mpc8260/traps.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/cpu/mpc8260/traps.c b/cpu/mpc8260/traps.c
index b5d416c9741..6624544eac0 100644
--- a/cpu/mpc8260/traps.c
+++ b/cpu/mpc8260/traps.c
@@ -111,7 +111,7 @@ _exception(int signr, struct pt_regs *regs)
void dump_pci (void)
{
- volatile immap_t *immap = (immap_t *) CFG_IMMR;
+ volatile immap_t *immap = (immap_t *) CONFIG_SYS_IMMR;
printf ("PCI: err status %x err mask %x err ctrl %x\n",
le32_to_cpu (immap->im_pci.pci_esr),
@@ -135,7 +135,7 @@ MachineCheckException(struct pt_regs *regs)
* the PCI exception handler.
*/
#ifdef CONFIG_PCI
- volatile immap_t *immap = (immap_t *)CFG_IMMR;
+ volatile immap_t *immap = (immap_t *)CONFIG_SYS_IMMR;
#ifdef DEBUG
dump_pci();
#endif