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