Merge branch 'powerpc-next' of master.kernel.org:/pub/scm/linux/kernel/git/galak...
[sfrench/cifs-2.6.git] / include / asm-ppc / mpc8xx.h
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
10
11
12 #ifdef CONFIG_8xx
13
14 #ifdef CONFIG_MBX
15 #include <platforms/mbx.h>
16 #endif
17
18 #ifdef CONFIG_FADS
19 #include <platforms/fads.h>
20 #endif
21
22 #ifdef CONFIG_RPXLITE
23 #include <platforms/rpxlite.h>
24 #endif
25
26 #ifdef CONFIG_BSEIP
27 #include <platforms/bseip.h>
28 #endif
29
30 #ifdef CONFIG_RPXCLASSIC
31 #include <platforms/rpxclassic.h>
32 #endif
33
34 #if defined(CONFIG_TQM8xxL)
35 #include <platforms/tqm8xx.h>
36 #endif
37
38 #if defined(CONFIG_IVMS8) || defined(CONFIG_IVML24)
39 #include <platforms/ivms8.h>
40 #endif
41
42 #if defined(CONFIG_HERMES_PRO)
43 #include <platforms/hermes.h>
44 #endif
45
46 #if defined(CONFIG_IP860)
47 #include <platforms/ip860.h>
48 #endif
49
50 #if defined(CONFIG_LWMON)
51 #include <platforms/lwmon.h>
52 #endif
53
54 #if defined(CONFIG_PCU_E)
55 #include <platforms/pcu_e.h>
56 #endif
57
58 #if defined(CONFIG_CCM)
59 #include <platforms/ccm.h>
60 #endif
61
62 #if defined(CONFIG_LANTEC)
63 #include <platforms/lantec.h>
64 #endif
65
66 /* Currently, all 8xx boards that support a processor to PCI/ISA bridge
67  * use the same memory map.
68  */
69 #if 0
70 #if defined(CONFIG_PCI) && defined(PCI_ISA_IO_ADDR)
71 #define _IO_BASE PCI_ISA_IO_ADDR
72 #define _ISA_MEM_BASE PCI_ISA_MEM_ADDR
73 #define PCI_DRAM_OFFSET 0x80000000
74 #else
75 #define _IO_BASE        0
76 #define _ISA_MEM_BASE   0
77 #define PCI_DRAM_OFFSET 0
78 #endif
79 #else
80 #if !defined(_IO_BASE)  /* defined in board specific header */
81 #define _IO_BASE        0
82 #endif
83 #define _ISA_MEM_BASE   0
84 #define PCI_DRAM_OFFSET 0
85 #endif
86
87 #ifndef __ASSEMBLY__
88 /* The "residual" data board information structure the boot loader
89  * hands to us.
90  */
91 extern unsigned char __res[];
92
93 struct pt_regs;
94
95 enum ppc_sys_devices {
96         MPC8xx_CPM_FEC1,
97         MPC8xx_CPM_FEC2,
98         MPC8xx_CPM_I2C,
99         MPC8xx_CPM_SCC1,
100         MPC8xx_CPM_SCC2,
101         MPC8xx_CPM_SCC3,
102         MPC8xx_CPM_SCC4,
103         MPC8xx_CPM_SPI,
104         MPC8xx_CPM_MCC1,
105         MPC8xx_CPM_MCC2,
106         MPC8xx_CPM_SMC1,
107         MPC8xx_CPM_SMC2,
108         MPC8xx_CPM_USB,
109         MPC8xx_MDIO_FEC,
110         NUM_PPC_SYS_DEVS,
111 };
112
113 #define PPC_PIN_SIZE    (24 * 1024 * 1024)      /* 24Mbytes of data pinned */
114
115 #ifndef BOARD_CHIP_NAME
116 #define BOARD_CHIP_NAME ""
117 #endif
118
119 #endif /* !__ASSEMBLY__ */
120 #endif /* CONFIG_8xx */
121 #endif /* __CONFIG_8xx_DEFS */
122 #endif /* __KERNEL__ */