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