Various Kconfig and Makefile.inc fixes and cosmetics.
[coreboot.git] / src / mainboard / Kconfig
1 menu "Mainboard"
2
3 choice
4         prompt "Mainboard vendor"
5         default VENDOR_EMULATION
6
7 config VENDOR_ATREND
8         bool "A-Trend"
9         help
10           Select this option for systems from the vendor.
11
12 config VENDOR_ABIT
13         bool "ABIT"
14         help
15           Select this option for systems from the vendor.
16
17 config VENDOR_ADVANTECH
18         bool "Advantech"
19         help
20           Select this option for systems from the vendor.
21
22 config VENDOR_AGAMI
23         bool "Agami"
24         help
25           Select this option for systems from the vendor.
26
27 config VENDOR_AMD
28         bool "AMD"
29         help
30           Select this option for systems from the vendor.
31
32 config VENDOR_ARIMA
33         bool "Arima"
34         help
35           Select this option for systems from the vendor.
36
37 config VENDOR_ARTEC
38         bool "Artec Group"
39         help
40           Select this option for systems from the vendor.
41
42 config VENDOR_ASI
43         bool "ASI"
44         help
45           Select this option for systems from the vendor.
46
47 config VENDOR_ASUS
48         bool "ASUS"
49         help
50           Select this option for systems from the vendor.
51
52 config VENDOR_AXUS
53         bool "AXUS"
54         help
55           Select this option for systems from the vendor.
56
57 config VENDOR_AZZA
58         bool "Azza"
59         help
60           Select this option for systems from the vendor.
61
62 config VENDOR_BCOM
63         bool "BCOM"
64         help
65           Select this option for systems from the vendor.
66
67 config VENDOR_BIOSTAR
68         bool "Biostar"
69         help
70           Select this option for systems from the vendor.
71
72 config VENDOR_BROADCOM
73         bool "Broadcom"
74         help
75           Select this option for systems from the vendor.
76
77 config VENDOR_COMPAQ
78         bool "Compaq"
79         help
80           Select this option for systems from the vendor.
81
82 config VENDOR_DELL
83         bool "DELL"
84         help
85           Select this option for systems from the vendor.
86
87 config VENDOR_DIGITALLOGIC
88         bool "Digital Logic"
89         help
90           Select this option for systems from the vendor.
91
92 config VENDOR_EAGLELION
93         bool "Eagle Lion"
94         help
95           Select this option for systems from the vendor.
96
97 config VENDOR_EMBEDDEDPLANET
98         bool "Embedded Planet"
99         help
100           Select this option for systems from the vendor.
101
102 config VENDOR_EMULATION
103         bool "Emulation"
104         help
105           Select this option for various system emulators, such as QEMU.
106
107 config VENDOR_GIGABYTE
108         bool "Gigabyte"
109         help
110           Select this option for systems from the vendor.
111
112 config VENDOR_HP
113         bool "HP"
114         help
115           Select this option for systems from the vendor.
116
117 config VENDOR_IBM
118         bool "IBM"
119         help
120           Select this option for systems from the vendor.
121
122 config VENDOR_IEI
123         bool "IEI"
124         help
125           Select this option for systems from the vendor.
126
127 config VENDOR_INTEL
128         bool "Intel"
129         help
130           Select this option for systems from the vendor.
131
132 config VENDOR_IWILL
133         bool "Iwill"
134         help
135           Select this option for systems from the vendor.
136
137 config VENDOR_JETWAY
138         bool "Jetway"
139         help
140           Select this option for systems from the vendor.
141
142 config VENDOR_KONTRON
143         bool "Kontron"
144         help
145           Select this option for systems from the vendor.
146
147 config VENDOR_LIPPERT
148         bool "Lippert"
149         help
150           Select this option for systems from the vendor.
151
152 config VENDOR_MOTOROLA
153         bool "Motorola"
154         help
155           Select this option for systems from the vendor.
156
157 config VENDOR_MSI
158         bool "MSI"
159         help
160           Select this option for systems from the vendor.
161
162 config VENDOR_NEC
163         bool "NEC"
164         help
165           Select this option for systems from the vendor.
166
167 config VENDOR_NEWISYS
168         bool "Newisys"
169         help
170           Select this option for systems from the vendor.
171
172 config VENDOR_NVIDIA
173         bool "NVidia"
174         help
175           Select this option for systems from the vendor.
176
177 config VENDOR_OLPC
178         bool "OLPC"
179         help
180           Select this option for systems from the vendor.
181
182 config VENDOR_PCENGINES
183         bool "PC Engines"
184         help
185           Select this option for systems from the vendor.
186
187 config VENDOR_RCA
188         bool "RCA"
189         help
190           Select this option for systems from the vendor.
191
192 config VENDOR_SUNW
193         bool "SUN Microsystems"
194         help
195           Select this option for systems from the vendor.
196
197 config VENDOR_SUPERMICRO
198         bool "Supermicro"
199         help
200           Select this option for systems from the vendor.
201
202 config VENDOR_TECHNEXION
203         bool "Technexion"
204         help
205           Select this option for systems from the vendor.
206
207 config VENDOR_THOMSON
208         bool "Thomson"
209         help
210           Select this option for systems from the vendor.
211
212 config VENDOR_TOTALIMPACT
213         bool "Total Impact"
214         help
215           Select this option for systems from the vendor.
216
217 config VENDOR_TYAN
218         bool "Tyan"
219         help
220           Select this option for systems from the vendor.
221
222 config VENDOR_VIA
223         bool "VIA"
224         help
225           Select this option for systems from the vendor.
226
227 endchoice
228
229 config MAINBOARD_VENDOR
230         string
231         default "Emulation"
232         depends on VENDOR_EMULATION
233
234 config MAINBOARD_VENDOR
235         string
236         default "Kontron"
237         depends on VENDOR_KONTRON
238
239 config MAINBOARD_VENDOR
240         string
241         default "VIA"
242         depends on VENDOR_VIA
243
244 config MAINBOARD_VENDOR
245         string
246         default "AMD"
247         depends on VENDOR_AMD
248
249 config MAINBOARD_PCI_SUBSYSTEM_VENDOR_ID
250         hex
251         default 0x1019
252         depends on VENDOR_VIA
253
254 source "src/mainboard/a-trend/Kconfig"
255 source "src/mainboard/abit/Kconfig"
256 source "src/mainboard/advantech/Kconfig"
257 source "src/mainboard/amd/Kconfig"
258 source "src/mainboard/arima/Kconfig"
259 source "src/mainboard/artecgroup/Kconfig"
260 source "src/mainboard/asi/Kconfig"
261 source "src/mainboard/asus/Kconfig"
262 source "src/mainboard/axus/Kconfig"
263 source "src/mainboard/azza/Kconfig"
264 source "src/mainboard/bcom/Kconfig"
265 source "src/mainboard/biostar/Kconfig"
266 source "src/mainboard/broadcom/Kconfig"
267 source "src/mainboard/compaq/Kconfig"
268 source "src/mainboard/dell/Kconfig"
269 source "src/mainboard/digitallogic/Kconfig"
270 source "src/mainboard/eaglelion/Kconfig"
271 source "src/mainboard/embeddedplanet/Kconfig"
272 source "src/mainboard/emulation/Kconfig"
273 source "src/mainboard/gigabyte/Kconfig"
274 source "src/mainboard/hp/Kconfig"
275 source "src/mainboard/ibm/Kconfig"
276 source "src/mainboard/iei/Kconfig"
277 source "src/mainboard/intel/Kconfig"
278 source "src/mainboard/iwill/Kconfig"
279 source "src/mainboard/jetway/Kconfig"
280 source "src/mainboard/kontron/Kconfig"
281 source "src/mainboard/lippert/Kconfig"
282 source "src/mainboard/motorola/Kconfig"
283 source "src/mainboard/msi/Kconfig"
284 source "src/mainboard/nec/Kconfig"
285 source "src/mainboard/newisys/Kconfig"
286 source "src/mainboard/nvidia/Kconfig"
287 source "src/mainboard/olpc/Kconfig"
288 source "src/mainboard/pcengines/Kconfig"
289 source "src/mainboard/rca/Kconfig"
290 source "src/mainboard/sunw/Kconfig"
291 source "src/mainboard/supermicro/Kconfig"
292 source "src/mainboard/technexion/Kconfig"
293 source "src/mainboard/technologic/Kconfig"
294 source "src/mainboard/televideo/Kconfig"
295 source "src/mainboard/thomson/Kconfig"
296 source "src/mainboard/totalimpact/Kconfig"
297 source "src/mainboard/tyan/Kconfig"
298 source "src/mainboard/via/Kconfig"
299
300 choice
301         prompt "ROM chip size"
302         default COREBOOT_ROMSIZE_KB_256
303
304 config COREBOOT_ROMSIZE_KB_128
305         bool "128 KB"
306         help
307           Choose this option if you have a 128 KB ROM chip.
308
309 config COREBOOT_ROMSIZE_KB_256
310         bool "256 KB"
311         help
312           Choose this option if you have a 256 KB ROM chip.
313
314 config COREBOOT_ROMSIZE_KB_512
315         bool "512 KB"
316         help
317           Choose this option if you have a 512 KB ROM chip.
318
319 config COREBOOT_ROMSIZE_KB_1024
320         bool "1024 KB (1 MB)"
321         help
322           Choose this option if you have a 1024 KB (1 MB) ROM chip.
323
324 config COREBOOT_ROMSIZE_KB_2048
325         bool "2048 KB (2 MB)"
326         help
327           Choose this option if you have a 2048 KB (2 MB) ROM chip.
328
329 config COREBOOT_ROMSIZE_KB_4096
330         bool "4096 KB (4 MB)"
331         help
332           Choose this option if you have a 4096 KB (4 MB) ROM chip.
333
334 endchoice
335
336 config COREBOOT_ROMSIZE_KB
337         int
338         default 128 if COREBOOT_ROMSIZE_KB_128
339         default 256 if COREBOOT_ROMSIZE_KB_256
340         default 512 if COREBOOT_ROMSIZE_KB_512
341         default 1024 if COREBOOT_ROMSIZE_KB_1024
342         default 2048 if COREBOOT_ROMSIZE_KB_2048
343         default 4096 if COREBOOT_ROMSIZE_KB_4096
344         help
345           Map the config names to an integer.
346
347 endmenu
348