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