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