Add Win Enterprises' PL6064 board
[coreboot.git] / src / mainboard / Kconfig
1 menu "Mainboard"
2
3 choice
4         prompt "Mainboard vendor"
5         default VENDOR_EMULATION
6
7 config VENDOR_ABIT
8         bool "Abit"
9 config VENDOR_ADVANTECH
10         bool "Advantech"
11 config VENDOR_AMD
12         bool "AMD"
13 config VENDOR_ARIMA
14         bool "Arima"
15 config VENDOR_ARTEC_GROUP
16         bool "Artec Group"
17 config VENDOR_ASI
18         bool "ASI"
19 config VENDOR_ASUS
20         bool "ASUS"
21 config VENDOR_A_TREND
22         bool "A-Trend"
23 config VENDOR_AXUS
24         bool "AXUS"
25 config VENDOR_AZZA
26         bool "AZZA"
27 config VENDOR_BCOM
28         bool "BCOM"
29 config VENDOR_BIOSTAR
30         bool "Biostar"
31 config VENDOR_BROADCOM
32         bool "Broadcom"
33 config VENDOR_COMPAQ
34         bool "Compaq"
35 config VENDOR_DELL
36         bool "Dell"
37 config VENDOR_DIGITAL_LOGIC
38         bool "DIGITAL-LOGIC"
39 config VENDOR_EAGLELION
40         bool "EagleLion"
41 config VENDOR_EMULATION
42         bool "Emulation"
43 config VENDOR_GIGABYTE
44         bool "GIGABYTE"
45 config VENDOR_HP
46         bool "HP"
47 config VENDOR_IBM
48         bool "IBM"
49 config VENDOR_IEI
50         bool "IEI"
51 config VENDOR_INTEL
52         bool "Intel"
53 config VENDOR_IWILL
54         bool "IWILL"
55 config VENDOR_JETWAY
56         bool "Jetway"
57 config VENDOR_KONTRON
58         bool "Kontron"
59 config VENDOR_LIPPERT
60         bool "Lippert"
61 config VENDOR_MITAC
62         bool "Mitac"
63 config VENDOR_MSI
64         bool "MSI"
65 config VENDOR_NEC
66         bool "NEC"
67 config VENDOR_NEWISYS
68         bool "Newisys"
69 config VENDOR_NVIDIA
70         bool "NVIDIA"
71 config VENDOR_OLPC
72         bool "OLPC"
73 config VENDOR_PC_ENGINES
74         bool "PC Engines"
75 config VENDOR_RCA
76         bool "RCA"
77 config VENDOR_RODA
78         bool "Roda"
79 config VENDOR_SOYO
80         bool "Soyo"
81 config VENDOR_SUNW
82         bool "Sun"
83 config VENDOR_SUPERMICRO
84         bool "Supermicro"
85 config VENDOR_TECHNEXION
86         bool "Technexion"
87 config VENDOR_TECHNOLOGIC
88         bool "Technologic"
89 config VENDOR_TELEVIDEO
90         bool "TeleVideo"
91 config VENDOR_THOMSON
92         bool "Thomson"
93 config VENDOR_TYAN
94         bool "Tyan"
95 config VENDOR_VIA
96         bool "VIA"
97 config VENDOR_WINENT
98         bool "Win Enterprises"
99
100 endchoice
101
102 config MAINBOARD_VENDOR
103         string
104         default "Abit"
105         depends on VENDOR_ABIT
106
107 config MAINBOARD_VENDOR
108         string
109         default "Advantech"
110         depends on VENDOR_ADVANTECH
111
112 config MAINBOARD_VENDOR
113         string
114         default "AMD"
115         depends on VENDOR_AMD
116
117 config MAINBOARD_VENDOR
118         string
119         default "Arima"
120         depends on VENDOR_ARIMA
121
122 config MAINBOARD_VENDOR
123         string
124         default "Artec Group"
125         depends on VENDOR_ARTEC_GROUP
126
127 config MAINBOARD_VENDOR
128         string
129         default "ASI"
130         depends on VENDOR_ASI
131
132 config MAINBOARD_VENDOR
133         string
134         default "ASUS"
135         depends on VENDOR_ASUS
136
137 config MAINBOARD_VENDOR
138         string
139         default "A-Trend"
140         depends on VENDOR_A_TREND
141
142 config MAINBOARD_VENDOR
143         string
144         default "AXUS"
145         depends on VENDOR_AXUS
146
147 config MAINBOARD_VENDOR
148         string
149         default "AZZA"
150         depends on VENDOR_AZZA
151
152 config MAINBOARD_VENDOR
153         string
154         default "BCOM"
155         depends on VENDOR_BCOM
156
157 config MAINBOARD_VENDOR
158         string
159         default "Biostar"
160         depends on VENDOR_BIOSTAR
161
162 config MAINBOARD_VENDOR
163         string
164         default "Broadcom"
165         depends on VENDOR_BROADCOM
166
167 config MAINBOARD_VENDOR
168         string
169         default "Compaq"
170         depends on VENDOR_COMPAQ
171
172 config MAINBOARD_VENDOR
173         string
174         default "Dell"
175         depends on VENDOR_DELL
176
177 config MAINBOARD_VENDOR
178         string
179         default "DIGITAL-LOGIC"
180         depends on VENDOR_DIGITAL_LOGIC
181
182 config MAINBOARD_VENDOR
183         string
184         default "EagleLion"
185         depends on VENDOR_EAGLELION
186
187 config MAINBOARD_VENDOR
188         string
189         default "Emulation"
190         depends on VENDOR_EMULATION
191
192 config MAINBOARD_VENDOR
193         string
194         default "GIGABYTE"
195         depends on VENDOR_GIGABYTE
196
197 config MAINBOARD_VENDOR
198         string
199         default "HP"
200         depends on VENDOR_HP
201
202 config MAINBOARD_VENDOR
203         string
204         default "IBM"
205         depends on VENDOR_IBM
206
207 config MAINBOARD_VENDOR
208         string
209         default "IEI"
210         depends on VENDOR_IEI
211
212 config MAINBOARD_VENDOR
213         string
214         default "Intel"
215         depends on VENDOR_INTEL
216
217 config MAINBOARD_PCI_SUBSYSTEM_VENDOR_ID
218         hex
219         default 0x8086
220         depends on VENDOR_INTEL
221
222 config MAINBOARD_VENDOR
223         string
224         default "IWILL"
225         depends on VENDOR_IWILL
226
227 config MAINBOARD_VENDOR
228         string
229         default "Jetway"
230         depends on VENDOR_JETWAY
231
232 config MAINBOARD_VENDOR
233         string
234         default "Kontron"
235         depends on VENDOR_KONTRON
236
237 config MAINBOARD_VENDOR
238         string
239         default "Lippert"
240         depends on VENDOR_LIPPERT
241
242 config MAINBOARD_VENDOR
243         string
244         default "Mitac"
245         depends on VENDOR_MITAC
246
247 config MAINBOARD_VENDOR
248         string
249         default "MSI"
250         depends on VENDOR_MSI
251
252 config MAINBOARD_PCI_SUBSYSTEM_VENDOR_ID
253         hex
254         default 0x1462
255         depends on VENDOR_MSI
256
257 config MAINBOARD_VENDOR
258         string
259         default "NEC"
260         depends on VENDOR_NEC
261
262 config MAINBOARD_VENDOR
263         string
264         default "Newisys"
265         depends on VENDOR_NEWISYS
266
267 config MAINBOARD_VENDOR
268         string
269         default "NVIDIA"
270         depends on VENDOR_NVIDIA
271
272 config MAINBOARD_VENDOR
273         string
274         default "OLPC"
275         depends on VENDOR_OLPC
276
277 config MAINBOARD_VENDOR
278         string
279         default "PC Engines"
280         depends on VENDOR_PC_ENGINES
281
282 config MAINBOARD_VENDOR
283         string
284         default "RCA"
285         depends on VENDOR_RCA
286
287 config MAINBOARD_VENDOR
288         string
289         default "Roda"
290         depends on VENDOR_RODA
291
292 config MAINBOARD_PCI_SUBSYSTEM_VENDOR_ID
293         hex
294         default 0x4352
295         depends on VENDOR_RODA
296
297 config MAINBOARD_VENDOR
298         string
299         default "Soyo"
300         depends on VENDOR_SOYO
301
302 config MAINBOARD_VENDOR
303         string
304         default "Sun"
305         depends on VENDOR_SUNW
306
307 config MAINBOARD_VENDOR
308         string
309         default "Supermicro"
310         depends on VENDOR_SUPERMICRO
311
312 config MAINBOARD_PCI_SUBSYSTEM_VENDOR_ID
313         hex
314         default 0x15d9
315         depends on VENDOR_SUPERMICRO
316
317 config MAINBOARD_VENDOR
318         string
319         default "Technexion"
320         depends on VENDOR_TECHNEXION
321
322 config MAINBOARD_VENDOR
323         string
324         default "Technologic"
325         depends on VENDOR_TECHNOLOGIC
326
327 config MAINBOARD_VENDOR
328         string
329         default "TeleVideo"
330         depends on VENDOR_TELEVIDEO
331
332 config MAINBOARD_VENDOR
333         string
334         default "Thomson"
335         depends on VENDOR_THOMSON
336
337 config MAINBOARD_VENDOR
338         string
339         default "Tyan"
340         depends on VENDOR_TYAN
341
342 config MAINBOARD_PCI_SUBSYSTEM_VENDOR_ID
343         hex
344         default 0x10f1
345         depends on VENDOR_TYAN
346
347 config MAINBOARD_VENDOR
348         string
349         default "VIA"
350         depends on VENDOR_VIA
351
352 config MAINBOARD_PCI_SUBSYSTEM_VENDOR_ID
353         hex
354         default 0x1019
355         depends on VENDOR_VIA
356
357 config MAINBOARD_VENDOR
358         string
359         default "Win Enterprise"
360         depends on VENDOR_WINENT
361
362 source "src/mainboard/a-trend/Kconfig"
363 source "src/mainboard/abit/Kconfig"
364 source "src/mainboard/advantech/Kconfig"
365 source "src/mainboard/amd/Kconfig"
366 source "src/mainboard/arima/Kconfig"
367 source "src/mainboard/artecgroup/Kconfig"
368 source "src/mainboard/asi/Kconfig"
369 source "src/mainboard/asus/Kconfig"
370 source "src/mainboard/axus/Kconfig"
371 source "src/mainboard/azza/Kconfig"
372 source "src/mainboard/bcom/Kconfig"
373 source "src/mainboard/biostar/Kconfig"
374 source "src/mainboard/broadcom/Kconfig"
375 source "src/mainboard/compaq/Kconfig"
376 source "src/mainboard/dell/Kconfig"
377 source "src/mainboard/digitallogic/Kconfig"
378 source "src/mainboard/eaglelion/Kconfig"
379 source "src/mainboard/emulation/Kconfig"
380 source "src/mainboard/gigabyte/Kconfig"
381 source "src/mainboard/hp/Kconfig"
382 source "src/mainboard/ibm/Kconfig"
383 source "src/mainboard/iei/Kconfig"
384 source "src/mainboard/intel/Kconfig"
385 source "src/mainboard/iwill/Kconfig"
386 source "src/mainboard/jetway/Kconfig"
387 source "src/mainboard/kontron/Kconfig"
388 source "src/mainboard/lippert/Kconfig"
389 source "src/mainboard/mitac/Kconfig"
390 source "src/mainboard/msi/Kconfig"
391 source "src/mainboard/nec/Kconfig"
392 source "src/mainboard/newisys/Kconfig"
393 source "src/mainboard/nvidia/Kconfig"
394 source "src/mainboard/olpc/Kconfig"
395 source "src/mainboard/pcengines/Kconfig"
396 source "src/mainboard/rca/Kconfig"
397 source "src/mainboard/roda/Kconfig"
398 source "src/mainboard/soyo/Kconfig"
399 source "src/mainboard/sunw/Kconfig"
400 source "src/mainboard/supermicro/Kconfig"
401 source "src/mainboard/technexion/Kconfig"
402 source "src/mainboard/technologic/Kconfig"
403 source "src/mainboard/televideo/Kconfig"
404 source "src/mainboard/thomson/Kconfig"
405 source "src/mainboard/tyan/Kconfig"
406 source "src/mainboard/via/Kconfig"
407 source "src/mainboard/winent/Kconfig"
408
409 config BOARD_ROMSIZE_KB_128
410         bool
411 config BOARD_ROMSIZE_KB_256
412         bool
413 config BOARD_ROMSIZE_KB_512
414         bool
415 config BOARD_ROMSIZE_KB_1024
416         bool
417 config BOARD_ROMSIZE_KB_2048
418         bool
419 config BOARD_ROMSIZE_KB_4096
420         bool
421
422 # TODO: No help text possible for choice fields?
423 choice
424         prompt "ROM chip size"
425         default COREBOOT_ROMSIZE_KB_128 if BOARD_ROMSIZE_KB_128
426         default COREBOOT_ROMSIZE_KB_256 if BOARD_ROMSIZE_KB_256
427         default COREBOOT_ROMSIZE_KB_512 if BOARD_ROMSIZE_KB_512
428         default COREBOOT_ROMSIZE_KB_1024 if BOARD_ROMSIZE_KB_1024
429         default COREBOOT_ROMSIZE_KB_2048 if BOARD_ROMSIZE_KB_2048
430         default COREBOOT_ROMSIZE_KB_4096 if BOARD_ROMSIZE_KB_4096
431         help
432           Select the size of the ROM chip you intend to flash coreboot on.
433
434           The build system will take care of creating a coreboot.rom file
435           of the matching size.
436
437 config COREBOOT_ROMSIZE_KB_128
438         bool "128 KB"
439         help
440           Choose this option if you have a 128 KB ROM chip.
441
442 config COREBOOT_ROMSIZE_KB_256
443         bool "256 KB"
444         help
445           Choose this option if you have a 256 KB ROM chip.
446
447 config COREBOOT_ROMSIZE_KB_512
448         bool "512 KB"
449         help
450           Choose this option if you have a 512 KB ROM chip.
451
452 config COREBOOT_ROMSIZE_KB_1024
453         bool "1024 KB (1 MB)"
454         help
455           Choose this option if you have a 1024 KB (1 MB) ROM chip.
456
457 config COREBOOT_ROMSIZE_KB_2048
458         bool "2048 KB (2 MB)"
459         help
460           Choose this option if you have a 2048 KB (2 MB) ROM chip.
461
462 config COREBOOT_ROMSIZE_KB_4096
463         bool "4096 KB (4 MB)"
464         help
465           Choose this option if you have a 4096 KB (4 MB) ROM chip.
466
467 endchoice
468
469 # Map the config names to an integer (KB).
470 config COREBOOT_ROMSIZE_KB
471         int
472         default 128 if COREBOOT_ROMSIZE_KB_128
473         default 256 if COREBOOT_ROMSIZE_KB_256
474         default 512 if COREBOOT_ROMSIZE_KB_512
475         default 1024 if COREBOOT_ROMSIZE_KB_1024
476         default 2048 if COREBOOT_ROMSIZE_KB_2048
477         default 4096 if COREBOOT_ROMSIZE_KB_4096
478
479 # Map the config names to a hex value (bytes).
480 config ROM_SIZE
481         hex
482         default 0x20000 if COREBOOT_ROMSIZE_KB_128
483         default 0x40000 if COREBOOT_ROMSIZE_KB_256
484         default 0x80000 if COREBOOT_ROMSIZE_KB_512
485         default 0x100000 if COREBOOT_ROMSIZE_KB_1024
486         default 0x200000 if COREBOOT_ROMSIZE_KB_2048
487         default 0x400000 if COREBOOT_ROMSIZE_KB_4096
488
489 endmenu
490