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