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