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