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