Linux v2.6.13
[linux-2.6/next.git] / include / asm-ppc / mpc8xx.h
blob7c31f2d564a16bb4dd961ff93e4881711719fa51
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.
6 */
7 #ifdef __KERNEL__
8 #ifndef __CONFIG_8xx_DEFS
9 #define __CONFIG_8xx_DEFS
11 #include <linux/config.h>
13 #ifdef CONFIG_8xx
15 #ifdef CONFIG_MBX
16 #include <platforms/mbx.h>
17 #endif
19 #ifdef CONFIG_FADS
20 #include <platforms/fads.h>
21 #endif
23 #ifdef CONFIG_RPXLITE
24 #include <platforms/rpxlite.h>
25 #endif
27 #ifdef CONFIG_BSEIP
28 #include <platforms/bseip.h>
29 #endif
31 #ifdef CONFIG_RPXCLASSIC
32 #include <platforms/rpxclassic.h>
33 #endif
35 #if defined(CONFIG_TQM8xxL)
36 #include <platforms/tqm8xx.h>
37 #endif
39 #if defined(CONFIG_SPD823TS)
40 #include <platforms/spd8xx.h>
41 #endif
43 #if defined(CONFIG_IVMS8) || defined(CONFIG_IVML24)
44 #include <platforms/ivms8.h>
45 #endif
47 #if defined(CONFIG_HERMES_PRO)
48 #include <platforms/hermes.h>
49 #endif
51 #if defined(CONFIG_IP860)
52 #include <platforms/ip860.h>
53 #endif
55 #if defined(CONFIG_LWMON)
56 #include <platforms/lwmon.h>
57 #endif
59 #if defined(CONFIG_PCU_E)
60 #include <platforms/pcu_e.h>
61 #endif
63 #if defined(CONFIG_CCM)
64 #include <platforms/ccm.h>
65 #endif
67 #if defined(CONFIG_LANTEC)
68 #include <platforms/lantec.h>
69 #endif
71 #if defined(CONFIG_MPC885ADS)
72 #include <platforms/mpc885ads.h>
73 #endif
75 /* Currently, all 8xx boards that support a processor to PCI/ISA bridge
76 * use the same memory map.
78 #if 0
79 #if defined(CONFIG_PCI) && defined(PCI_ISA_IO_ADDR)
80 #define _IO_BASE PCI_ISA_IO_ADDR
81 #define _ISA_MEM_BASE PCI_ISA_MEM_ADDR
82 #define PCI_DRAM_OFFSET 0x80000000
83 #else
84 #define _IO_BASE 0
85 #define _ISA_MEM_BASE 0
86 #define PCI_DRAM_OFFSET 0
87 #endif
88 #else
89 #if !defined(_IO_BASE) /* defined in board specific header */
90 #define _IO_BASE 0
91 #endif
92 #define _ISA_MEM_BASE 0
93 #define PCI_DRAM_OFFSET 0
94 #endif
96 #ifndef __ASSEMBLY__
97 /* The "residual" data board information structure the boot loader
98 * hands to us.
100 extern unsigned char __res[];
102 struct pt_regs;
104 #endif /* !__ASSEMBLY__ */
105 #endif /* CONFIG_8xx */
106 #endif /* __CONFIG_8xx_DEFS */
107 #endif /* __KERNEL__ */