diff options
Diffstat (limited to 'include/asm-ppc/mpc52xx.h')
-rw-r--r-- | include/asm-ppc/mpc52xx.h | 13 |
1 files changed, 12 insertions, 1 deletions
diff --git a/include/asm-ppc/mpc52xx.h b/include/asm-ppc/mpc52xx.h index e5f80c22fbfc..a055e0756b9d 100644 --- a/include/asm-ppc/mpc52xx.h +++ b/include/asm-ppc/mpc52xx.h | |||
@@ -29,6 +29,17 @@ struct pt_regs; | |||
29 | #endif /* __ASSEMBLY__ */ | 29 | #endif /* __ASSEMBLY__ */ |
30 | 30 | ||
31 | 31 | ||
32 | #ifdef CONFIG_PCI | ||
33 | #define _IO_BASE isa_io_base | ||
34 | #define _ISA_MEM_BASE isa_mem_base | ||
35 | #define PCI_DRAM_OFFSET pci_dram_offset | ||
36 | #else | ||
37 | #define _IO_BASE 0 | ||
38 | #define _ISA_MEM_BASE 0 | ||
39 | #define PCI_DRAM_OFFSET 0 | ||
40 | #endif | ||
41 | |||
42 | |||
32 | /* ======================================================================== */ | 43 | /* ======================================================================== */ |
33 | /* PPC Sys devices definition */ | 44 | /* PPC Sys devices definition */ |
34 | /* ======================================================================== */ | 45 | /* ======================================================================== */ |
@@ -107,7 +118,7 @@ enum ppc_sys_devices { | |||
107 | #define MPC52xx_SDMA_IRQ_NUM 17 | 118 | #define MPC52xx_SDMA_IRQ_NUM 17 |
108 | #define MPC52xx_PERP_IRQ_NUM 23 | 119 | #define MPC52xx_PERP_IRQ_NUM 23 |
109 | 120 | ||
110 | #define MPC52xx_CRIT_IRQ_BASE 0 | 121 | #define MPC52xx_CRIT_IRQ_BASE 1 |
111 | #define MPC52xx_MAIN_IRQ_BASE (MPC52xx_CRIT_IRQ_BASE + MPC52xx_CRIT_IRQ_NUM) | 122 | #define MPC52xx_MAIN_IRQ_BASE (MPC52xx_CRIT_IRQ_BASE + MPC52xx_CRIT_IRQ_NUM) |
112 | #define MPC52xx_SDMA_IRQ_BASE (MPC52xx_MAIN_IRQ_BASE + MPC52xx_MAIN_IRQ_NUM) | 123 | #define MPC52xx_SDMA_IRQ_BASE (MPC52xx_MAIN_IRQ_BASE + MPC52xx_MAIN_IRQ_NUM) |
113 | #define MPC52xx_PERP_IRQ_BASE (MPC52xx_SDMA_IRQ_BASE + MPC52xx_SDMA_IRQ_NUM) | 124 | #define MPC52xx_PERP_IRQ_BASE (MPC52xx_SDMA_IRQ_BASE + MPC52xx_SDMA_IRQ_NUM) |