mainboard: add avalue/eax-785 ITX mainboard
[coreboot.git] / src / mainboard / Kconfig
1 menu "Mainboard"
2
3 choice
4         prompt "Mainboard vendor"
5         default VENDOR_EMULATION
6
7 config VENDOR_AAEON
8         bool "Aaeon"
9 config VENDOR_ABIT
10         bool "Abit"
11 config VENDOR_ADVANSUS
12         bool "Advansus"
13 config VENDOR_ADVANTECH
14         bool "Advantech"
15 config VENDOR_AMD
16         bool "AMD"
17 config VENDOR_ARIMA
18         bool "Arima"
19 config VENDOR_ARTEC_GROUP
20         bool "Artec Group"
21 config VENDOR_ASI
22         bool "ASI"
23 config VENDOR_ASROCK
24         bool "ASROCK"
25 config VENDOR_ASUS
26         bool "ASUS"
27 config VENDOR_A_TREND
28         bool "A-Trend"
29 config VENDOR_AVALUE
30         bool "AVALUE"
31 config VENDOR_AXUS
32         bool "AXUS"
33 config VENDOR_AZZA
34         bool "AZZA"
35 config VENDOR_BCOM
36         bool "BCOM"
37 config VENDOR_BIOSTAR
38         bool "Biostar"
39 config VENDOR_BROADCOM
40         bool "Broadcom"
41 config VENDOR_COMPAQ
42         bool "Compaq"
43 config VENDOR_DELL
44         bool "Dell"
45 config VENDOR_DIGITAL_LOGIC
46         bool "DIGITAL-LOGIC"
47 config VENDOR_EAGLELION
48         bool "EagleLion"
49 config VENDOR_ECS
50         bool "ECS"
51 config VENDOR_EMULATION
52         bool "Emulation"
53 config VENDOR_GETAC
54         bool "Getac"
55 config VENDOR_GIGABYTE
56         bool "GIGABYTE"
57 config VENDOR_HP
58         bool "HP"
59 config VENDOR_IBASE
60         bool "iBase"
61 config VENDOR_IBM
62         bool "IBM"
63 config VENDOR_IEI
64         bool "IEI"
65 config VENDOR_INTEL
66         bool "Intel"
67 config VENDOR_IWAVE
68         bool "iWave"
69 config VENDOR_IWILL
70         bool "IWILL"
71 config VENDOR_JETWAY
72         bool "Jetway"
73 config VENDOR_KONTRON
74         bool "Kontron"
75 config VENDOR_LANNER
76         bool "Lanner"
77 config VENDOR_LENOVO
78         bool "Lenovo"
79 config VENDOR_LIPPERT
80         bool "Lippert"
81 config VENDOR_MITAC
82         bool "Mitac"
83 config VENDOR_MSI
84         bool "MSI"
85 config VENDOR_NEC
86         bool "NEC"
87 config VENDOR_NEWISYS
88         bool "Newisys"
89 config VENDOR_NOKIA
90         bool "Nokia"
91 config VENDOR_NVIDIA
92         bool "NVIDIA"
93 config VENDOR_PC_ENGINES
94         bool "PC Engines"
95 config VENDOR_RCA
96         bool "RCA"
97 config VENDOR_RODA
98         bool "Roda"
99 config VENDOR_SIEMENS
100         bool "Siemens"
101 config VENDOR_SOYO
102         bool "Soyo"
103 config VENDOR_SUNW
104         bool "Sun"
105 config VENDOR_SUPERMICRO
106         bool "Supermicro"
107 config VENDOR_TECHNEXION
108         bool "Technexion"
109 config VENDOR_TECHNOLOGIC
110         bool "Technologic"
111 config VENDOR_TELEVIDEO
112         bool "TeleVideo"
113 config VENDOR_THOMSON
114         bool "Thomson"
115 config VENDOR_TRAVERSE
116         bool "Traverse Technologies"
117 config VENDOR_TYAN
118         bool "Tyan"
119 config VENDOR_VIA
120         bool "VIA"
121 config VENDOR_WINENT
122         bool "Win Enterprises"
123 config VENDOR_WYSE
124         bool "Wyse"
125
126 endchoice
127
128 source "src/mainboard/a-trend/Kconfig"
129 source "src/mainboard/aaeon/Kconfig"
130 source "src/mainboard/abit/Kconfig"
131 source "src/mainboard/advansus/Kconfig"
132 source "src/mainboard/advantech/Kconfig"
133 source "src/mainboard/amd/Kconfig"
134 source "src/mainboard/arima/Kconfig"
135 source "src/mainboard/artecgroup/Kconfig"
136 source "src/mainboard/asi/Kconfig"
137 source "src/mainboard/asrock/Kconfig"
138 source "src/mainboard/asus/Kconfig"
139 source "src/mainboard/avalue/Kconfig"
140 source "src/mainboard/axus/Kconfig"
141 source "src/mainboard/azza/Kconfig"
142 source "src/mainboard/bcom/Kconfig"
143 source "src/mainboard/biostar/Kconfig"
144 source "src/mainboard/broadcom/Kconfig"
145 source "src/mainboard/compaq/Kconfig"
146 source "src/mainboard/dell/Kconfig"
147 source "src/mainboard/digitallogic/Kconfig"
148 source "src/mainboard/eaglelion/Kconfig"
149 source "src/mainboard/ecs/Kconfig"
150 source "src/mainboard/emulation/Kconfig"
151 source "src/mainboard/getac/Kconfig"
152 source "src/mainboard/gigabyte/Kconfig"
153 source "src/mainboard/hp/Kconfig"
154 source "src/mainboard/ibase/Kconfig"
155 source "src/mainboard/ibm/Kconfig"
156 source "src/mainboard/iei/Kconfig"
157 source "src/mainboard/intel/Kconfig"
158 source "src/mainboard/iwave/Kconfig"
159 source "src/mainboard/iwill/Kconfig"
160 source "src/mainboard/jetway/Kconfig"
161 source "src/mainboard/kontron/Kconfig"
162 source "src/mainboard/lanner/Kconfig"
163 source "src/mainboard/lenovo/Kconfig"
164 source "src/mainboard/lippert/Kconfig"
165 source "src/mainboard/mitac/Kconfig"
166 source "src/mainboard/msi/Kconfig"
167 source "src/mainboard/nec/Kconfig"
168 source "src/mainboard/newisys/Kconfig"
169 source "src/mainboard/nokia/Kconfig"
170 source "src/mainboard/nvidia/Kconfig"
171 source "src/mainboard/pcengines/Kconfig"
172 source "src/mainboard/rca/Kconfig"
173 source "src/mainboard/roda/Kconfig"
174 source "src/mainboard/siemens/Kconfig"
175 source "src/mainboard/soyo/Kconfig"
176 source "src/mainboard/sunw/Kconfig"
177 source "src/mainboard/supermicro/Kconfig"
178 source "src/mainboard/technexion/Kconfig"
179 source "src/mainboard/technologic/Kconfig"
180 source "src/mainboard/televideo/Kconfig"
181 source "src/mainboard/thomson/Kconfig"
182 source "src/mainboard/traverse/Kconfig"
183 source "src/mainboard/tyan/Kconfig"
184 source "src/mainboard/via/Kconfig"
185 source "src/mainboard/winent/Kconfig"
186 source "src/mainboard/wyse/Kconfig"
187
188 config BOARD_ROMSIZE_KB_128
189         bool
190 config BOARD_ROMSIZE_KB_256
191         bool
192 config BOARD_ROMSIZE_KB_512
193         bool
194 config BOARD_ROMSIZE_KB_1024
195         bool
196 config BOARD_ROMSIZE_KB_2048
197         bool
198 config BOARD_ROMSIZE_KB_4096
199         bool
200 config BOARD_ROMSIZE_KB_8192
201         bool
202 config BOARD_ROMSIZE_KB_16384
203         bool
204
205 # TODO: No help text possible for choice fields?
206 choice
207         prompt "ROM chip size"
208         default COREBOOT_ROMSIZE_KB_128 if BOARD_ROMSIZE_KB_128
209         default COREBOOT_ROMSIZE_KB_256 if BOARD_ROMSIZE_KB_256
210         default COREBOOT_ROMSIZE_KB_512 if BOARD_ROMSIZE_KB_512
211         default COREBOOT_ROMSIZE_KB_1024 if BOARD_ROMSIZE_KB_1024
212         default COREBOOT_ROMSIZE_KB_2048 if BOARD_ROMSIZE_KB_2048
213         default COREBOOT_ROMSIZE_KB_4096 if BOARD_ROMSIZE_KB_4096
214         default COREBOOT_ROMSIZE_KB_8192 if BOARD_ROMSIZE_KB_8192
215         default COREBOOT_ROMSIZE_KB_16384 if BOARD_ROMSIZE_KB_16384
216         help
217           Select the size of the ROM chip you intend to flash coreboot on.
218
219           The build system will take care of creating a coreboot.rom file
220           of the matching size.
221
222 config COREBOOT_ROMSIZE_KB_128
223         bool "128 KB"
224         help
225           Choose this option if you have a 128 KB ROM chip.
226
227 config COREBOOT_ROMSIZE_KB_256
228         bool "256 KB"
229         help
230           Choose this option if you have a 256 KB ROM chip.
231
232 config COREBOOT_ROMSIZE_KB_512
233         bool "512 KB"
234         help
235           Choose this option if you have a 512 KB ROM chip.
236
237 config COREBOOT_ROMSIZE_KB_1024
238         bool "1024 KB (1 MB)"
239         help
240           Choose this option if you have a 1024 KB (1 MB) ROM chip.
241
242 config COREBOOT_ROMSIZE_KB_2048
243         bool "2048 KB (2 MB)"
244         help
245           Choose this option if you have a 2048 KB (2 MB) ROM chip.
246
247 config COREBOOT_ROMSIZE_KB_4096
248         bool "4096 KB (4 MB)"
249         help
250           Choose this option if you have a 4096 KB (4 MB) ROM chip.
251
252 config COREBOOT_ROMSIZE_KB_8192
253         bool "8192 KB (8 MB)"
254         help
255           Choose this option if you have a 8192 KB (8 MB) ROM chip.
256
257 config COREBOOT_ROMSIZE_KB_16384
258         bool "16384 KB (16 MB)"
259         help
260           Choose this option if you have a 16384 KB (16 MB) ROM chip.
261
262 endchoice
263
264 # Map the config names to an integer (KB).
265 config COREBOOT_ROMSIZE_KB
266         int
267         default 128 if COREBOOT_ROMSIZE_KB_128
268         default 256 if COREBOOT_ROMSIZE_KB_256
269         default 512 if COREBOOT_ROMSIZE_KB_512
270         default 1024 if COREBOOT_ROMSIZE_KB_1024
271         default 2048 if COREBOOT_ROMSIZE_KB_2048
272         default 4096 if COREBOOT_ROMSIZE_KB_4096
273         default 8192 if COREBOOT_ROMSIZE_KB_8192
274         default 16384 if COREBOOT_ROMSIZE_KB_16384
275
276 # Map the config names to a hex value (bytes).
277 config ROM_SIZE
278         hex
279         default 0x20000 if COREBOOT_ROMSIZE_KB_128
280         default 0x40000 if COREBOOT_ROMSIZE_KB_256
281         default 0x80000 if COREBOOT_ROMSIZE_KB_512
282         default 0x100000 if COREBOOT_ROMSIZE_KB_1024
283         default 0x200000 if COREBOOT_ROMSIZE_KB_2048
284         default 0x400000 if COREBOOT_ROMSIZE_KB_4096
285         default 0x800000 if COREBOOT_ROMSIZE_KB_8192
286         default 0x1000000 if COREBOOT_ROMSIZE_KB_16384
287
288 config ENABLE_POWER_BUTTON
289         bool "Enable the power button" if POWER_BUTTON_IS_OPTIONAL
290         default y if POWER_BUTTON_DEFAULT_ENABLE
291         default n if POWER_BUTTON_DEFAULT_DISABLE
292         help
293           The selected mainboard can optionally have the power button tied
294           to ground with a jumper so that the button appears to be
295           constantly depressed. If this option is enabled and the jumper is
296           installed then the board will turn on, but turn off again after a
297           short timeout, usually 4 seconds.
298
299           Select Y here if you have removed the jumper and want to use an
300           actual power button. Select N if you have the jumper installed.
301
302 config ENABLE_POWER_BUTTON
303         def_bool y if !POWER_BUTTON_IS_OPTIONAL && POWER_BUTTON_FORCE_ENABLE
304         def_bool n if !POWER_BUTTON_IS_OPTIONAL && POWER_BUTTON_FORCE_DISABLE
305
306 endmenu