1 /* This is the single file included by all MPC8xx build options.
2 * Since there are many different boards and no standard configuration,
3 * we have a unique include file for each. Rather than change every
4 * file that has to include MPC8xx configuration, they all include
5 * this one and the configuration switching is done here.
8 #ifndef __CONFIG_8xx_DEFS
9 #define __CONFIG_8xx_DEFS
11 #include <linux/config.h>
16 #include <platforms/mbx.h>
20 #include <platforms/fads.h>
24 #include <platforms/rpxlite.h>
28 #include <platforms/bseip.h>
31 #ifdef CONFIG_RPXCLASSIC
32 #include <platforms/rpxclassic.h>
36 #include <platforms/dbox2.h>
39 #if defined(CONFIG_TQM8xxL)
40 #include <platforms/tqm8xx.h>
43 #if defined(CONFIG_SPD823TS)
44 #include <platforms/spd8xx.h>
47 #if defined(CONFIG_IVMS8) || defined(CONFIG_IVML24)
48 #include <platforms/ivms8.h>
52 /* The PCI_ISA_IO_ADDR, PCI_ISA_MEM_ADDR, and PCI_DRAM_OFFSET macros
53 * must be defined in the board-specific header file for targets that
54 * need them. Default values are defined here for targets that don't need
57 #if defined(CONFIG_PCI)
58 #if !defined(_IO_BASE)
59 #define _IO_BASE PCI_ISA_IO_ADDR
61 #if !defined(_ISA_MEM_BASE)
62 #define _ISA_MEM_BASE PCI_ISA_MEM_ADDR
64 #if !defined(PCI_DRAM_OFFSET)
65 #define PCI_DRAM_OFFSET 0
67 #else /* if defined(CONFIG_PCI) */
68 #if !defined(_IO_BASE)
71 #if !defined(_ISA_MEM_BASE)
72 #define _ISA_MEM_BASE 0
74 #if !defined(PCI_DRAM_OFFSET)
75 #define PCI_DRAM_OFFSET 0
77 #endif /* if defined(CONFIG_PCI) */
80 extern unsigned long isa_io_base;
81 extern unsigned long isa_mem_base;
82 extern unsigned long pci_dram_offset;
84 /* The "residual" data board information structure the boot loader
87 extern unsigned char __res[];
89 #define request_8xxirq request_irq
91 #endif /* !__ASSEMBLY__ */
92 #endif /* CONFIG_8xx */
93 #endif /* __CONFIG_8xx_DEFS */
94 #endif /* __KERNEL__ */