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