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