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