Merge ARM fixes
[sfrench/cifs-2.6.git] / arch / ppc / platforms / 4xx / Kconfig
1 config 4xx
2         bool
3         depends on 40x || 44x
4         default y
5
6 config WANT_EARLY_SERIAL
7         bool
8         select SERIAL_8250
9         default n
10
11 menu "IBM 4xx options"
12         depends on 4xx
13
14 choice
15         prompt "Machine Type"
16         depends on 40x
17         default WALNUT
18
19 config BUBINGA
20         bool "Bubinga"
21         select WANT_EARLY_SERIAL
22         help
23           This option enables support for the IBM 405EP evaluation board.
24
25 config CPCI405
26         bool "CPCI405"
27         help
28           This option enables support for the CPCI405 board.
29
30 config EP405
31         bool "EP405/EP405PC"
32         help
33           This option enables support for the EP405/EP405PC boards.
34
35 config REDWOOD_5
36         bool "Redwood-5"
37         help
38           This option enables support for the IBM STB04 evaluation board.
39
40 config REDWOOD_6
41         bool "Redwood-6"
42         help
43           This option enables support for the IBM STBx25xx evaluation board.
44
45 config SYCAMORE
46         bool "Sycamore"
47         help
48           This option enables support for the IBM PPC405GPr evaluation board.
49
50 config WALNUT
51         bool "Walnut"
52         help
53           This option enables support for the IBM PPC405GP evaluation board.
54
55 config XILINX_ML300
56         bool "Xilinx-ML300"
57         help
58           This option enables support for the Xilinx ML300 evaluation board.
59
60 config XILINX_ML403
61         bool "Xilinx-ML403"
62         help
63           This option enables support for the Xilinx ML403 evaluation board.
64 endchoice
65
66 choice
67         prompt "Machine Type"
68         depends on 44x
69         default EBONY
70
71 config BAMBOO
72         bool "Bamboo"
73         select WANT_EARLY_SERIAL
74         help
75           This option enables support for the IBM PPC440EP evaluation board.
76
77 config EBONY
78         bool "Ebony"
79         select WANT_EARLY_SERIAL
80         help
81           This option enables support for the IBM PPC440GP evaluation board.
82
83 config LUAN
84         bool "Luan"
85         select WANT_EARLY_SERIAL
86         help
87           This option enables support for the IBM PPC440SP evaluation board.
88
89 config YUCCA
90         bool "Yucca"
91         select WANT_EARLY_SERIAL
92         help
93           This option enables support for the AMCC PPC440SPe evaluation board.
94
95 config OCOTEA
96         bool "Ocotea"
97         select WANT_EARLY_SERIAL
98         help
99           This option enables support for the IBM PPC440GX evaluation board.
100
101 config TAISHAN
102         bool "Taishan"
103         select WANT_EARLY_SERIAL
104         help
105           This option enables support for the AMCC PPC440GX evaluation board.
106
107 endchoice
108
109 config EP405PC
110         bool "EP405PC Support"
111         depends on EP405
112
113
114 # It's often necessary to know the specific 4xx processor type.
115 # Fortunately, it is impled (so far) from the board type, so we
116 # don't need to ask more redundant questions.
117 config NP405H
118         bool
119         depends on ASH
120         default y
121
122 config 440EP
123         bool
124         depends on BAMBOO
125         select PPC_FPU
126         default y
127
128 config 440GP
129         bool
130         depends on EBONY
131         default y
132
133 config 440GX
134         bool
135         depends on OCOTEA || TAISHAN
136         default y
137
138 config 440SP
139         bool
140         depends on LUAN
141         default y
142
143 config 440SPE
144         bool
145         depends on YUCCA
146         default y
147
148 config 440
149         bool
150         depends on 440GP || 440SP || 440SPE || 440EP
151         default y
152
153 config 440A
154         bool
155         depends on 440GX
156         default y
157
158 config IBM440EP_ERR42
159         bool
160         depends on 440EP
161         default y
162
163 # All 405-based cores up until the 405GPR and 405EP have this errata.
164 config IBM405_ERR77
165         bool
166         depends on 40x && !403GCX && !405GPR && !405EP
167         default y
168
169 # All 40x-based cores, up until the 405GPR and 405EP have this errata.
170 config IBM405_ERR51
171         bool
172         depends on 40x && !405GPR && !405EP
173         default y
174
175 config BOOKE
176         bool
177         depends on 44x
178         default y
179
180 config IBM_OCP
181         bool
182         depends on ASH || BAMBOO || BUBINGA || CPCI405 || EBONY || EP405 || LUAN || YUCCA || OCOTEA || REDWOOD_5 || REDWOOD_6 || SYCAMORE || TAISHAN || WALNUT
183         default y
184
185 config IBM_EMAC4
186         bool
187         depends on 440GX || 440SP || 440SPE
188         default y
189
190 config BIOS_FIXUP
191         bool
192         depends on BUBINGA || EP405 || SYCAMORE || WALNUT || CPCI405
193         default y
194
195 # OAK doesn't exist but wanted to keep this around for any future 403GCX boards
196 config 403GCX
197         bool
198         depends on OAK
199         default y
200
201 config 405EP
202         bool
203         depends on BUBINGA
204         default y
205
206 config 405GP
207         bool
208         depends on CPCI405 || EP405 || WALNUT
209         default y
210
211 config 405GPR
212         bool
213         depends on SYCAMORE
214         default y
215
216 config XILINX_VIRTEX_II_PRO
217         bool
218         depends on XILINX_ML300
219         default y
220
221 config XILINX_VIRTEX_4_FX
222         bool
223         depends on XILINX_ML403
224         default y
225
226 config XILINX_VIRTEX
227         bool
228         depends on XILINX_VIRTEX_II_PRO || XILINX_VIRTEX_4_FX
229         default y
230
231 config STB03xxx
232         bool
233         depends on REDWOOD_5 || REDWOOD_6
234         default y
235
236 config EMBEDDEDBOOT
237         bool
238         depends on EP405 || XILINX_ML300 || XILINX_ML403
239         default y
240
241 config IBM_OPENBIOS
242         bool
243         depends on ASH || REDWOOD_5 || REDWOOD_6
244         default y
245
246 config PPC4xx_DMA
247         bool "PPC4xx DMA controller support"
248         depends on 4xx
249
250 config PPC4xx_EDMA
251         bool
252         depends on !STB03xxx && PPC4xx_DMA
253         default y
254
255 config PPC_GEN550
256         bool
257         depends on 4xx
258         default y
259
260 choice
261         prompt "TTYS0 device and default console"
262         depends on 40x
263         default UART0_TTYS0
264
265 config UART0_TTYS0
266         bool "UART0"
267
268 config UART0_TTYS1
269         bool "UART1"
270
271 endchoice
272
273 config SERIAL_SICC
274         bool "SICC Serial port support"
275         depends on STB03xxx
276
277 config UART1_DFLT_CONSOLE
278         bool
279         depends on SERIAL_SICC && UART0_TTYS1
280         default y
281
282 config SERIAL_SICC_CONSOLE
283         bool
284         depends on SERIAL_SICC && UART0_TTYS1
285         default y
286 endmenu