Add Siemens SITEMP-G1 board
[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_SIEMENS
96         bool "Siemens"
97 config VENDOR_SOYO
98         bool "Soyo"
99 config VENDOR_SUNW
100         bool "Sun"
101 config VENDOR_SUPERMICRO
102         bool "Supermicro"
103 config VENDOR_TECHNEXION
104         bool "Technexion"
105 config VENDOR_TECHNOLOGIC
106         bool "Technologic"
107 config VENDOR_TELEVIDEO
108         bool "TeleVideo"
109 config VENDOR_THOMSON
110         bool "Thomson"
111 config VENDOR_TRAVERSE
112         bool "Traverse Technologies"
113 config VENDOR_TYAN
114         bool "Tyan"
115 config VENDOR_VIA
116         bool "VIA"
117 config VENDOR_WINENT
118         bool "Win Enterprises"
119 config VENDOR_WYSE
120         bool "Wyse"
121
122 endchoice
123
124 source "src/mainboard/a-trend/Kconfig"
125 source "src/mainboard/abit/Kconfig"
126 source "src/mainboard/advansus/Kconfig"
127 source "src/mainboard/advantech/Kconfig"
128 source "src/mainboard/amd/Kconfig"
129 source "src/mainboard/arima/Kconfig"
130 source "src/mainboard/artecgroup/Kconfig"
131 source "src/mainboard/asi/Kconfig"
132 source "src/mainboard/asrock/Kconfig"
133 source "src/mainboard/asus/Kconfig"
134 source "src/mainboard/axus/Kconfig"
135 source "src/mainboard/azza/Kconfig"
136 source "src/mainboard/bcom/Kconfig"
137 source "src/mainboard/biostar/Kconfig"
138 source "src/mainboard/broadcom/Kconfig"
139 source "src/mainboard/compaq/Kconfig"
140 source "src/mainboard/dell/Kconfig"
141 source "src/mainboard/digitallogic/Kconfig"
142 source "src/mainboard/eaglelion/Kconfig"
143 source "src/mainboard/ecs/Kconfig"
144 source "src/mainboard/emulation/Kconfig"
145 source "src/mainboard/getac/Kconfig"
146 source "src/mainboard/gigabyte/Kconfig"
147 source "src/mainboard/hp/Kconfig"
148 source "src/mainboard/ibase/Kconfig"
149 source "src/mainboard/ibm/Kconfig"
150 source "src/mainboard/iei/Kconfig"
151 source "src/mainboard/intel/Kconfig"
152 source "src/mainboard/iwave/Kconfig"
153 source "src/mainboard/iwill/Kconfig"
154 source "src/mainboard/jetway/Kconfig"
155 source "src/mainboard/kontron/Kconfig"
156 source "src/mainboard/lanner/Kconfig"
157 source "src/mainboard/lenovo/Kconfig"
158 source "src/mainboard/lippert/Kconfig"
159 source "src/mainboard/mitac/Kconfig"
160 source "src/mainboard/msi/Kconfig"
161 source "src/mainboard/nec/Kconfig"
162 source "src/mainboard/newisys/Kconfig"
163 source "src/mainboard/nokia/Kconfig"
164 source "src/mainboard/nvidia/Kconfig"
165 source "src/mainboard/pcengines/Kconfig"
166 source "src/mainboard/rca/Kconfig"
167 source "src/mainboard/roda/Kconfig"
168 source "src/mainboard/siemens/Kconfig"
169 source "src/mainboard/soyo/Kconfig"
170 source "src/mainboard/sunw/Kconfig"
171 source "src/mainboard/supermicro/Kconfig"
172 source "src/mainboard/technexion/Kconfig"
173 source "src/mainboard/technologic/Kconfig"
174 source "src/mainboard/televideo/Kconfig"
175 source "src/mainboard/thomson/Kconfig"
176 source "src/mainboard/traverse/Kconfig"
177 source "src/mainboard/tyan/Kconfig"
178 source "src/mainboard/via/Kconfig"
179 source "src/mainboard/winent/Kconfig"
180 source "src/mainboard/wyse/Kconfig"
181
182 config BOARD_ROMSIZE_KB_128
183         bool
184 config BOARD_ROMSIZE_KB_256
185         bool
186 config BOARD_ROMSIZE_KB_512
187         bool
188 config BOARD_ROMSIZE_KB_1024
189         bool
190 config BOARD_ROMSIZE_KB_2048
191         bool
192 config BOARD_ROMSIZE_KB_4096
193         bool
194
195 # TODO: No help text possible for choice fields?
196 choice
197         prompt "ROM chip size"
198         default COREBOOT_ROMSIZE_KB_128 if BOARD_ROMSIZE_KB_128
199         default COREBOOT_ROMSIZE_KB_256 if BOARD_ROMSIZE_KB_256
200         default COREBOOT_ROMSIZE_KB_512 if BOARD_ROMSIZE_KB_512
201         default COREBOOT_ROMSIZE_KB_1024 if BOARD_ROMSIZE_KB_1024
202         default COREBOOT_ROMSIZE_KB_2048 if BOARD_ROMSIZE_KB_2048
203         default COREBOOT_ROMSIZE_KB_4096 if BOARD_ROMSIZE_KB_4096
204         help
205           Select the size of the ROM chip you intend to flash coreboot on.
206
207           The build system will take care of creating a coreboot.rom file
208           of the matching size.
209
210 config COREBOOT_ROMSIZE_KB_128
211         bool "128 KB"
212         help
213           Choose this option if you have a 128 KB ROM chip.
214
215 config COREBOOT_ROMSIZE_KB_256
216         bool "256 KB"
217         help
218           Choose this option if you have a 256 KB ROM chip.
219
220 config COREBOOT_ROMSIZE_KB_512
221         bool "512 KB"
222         help
223           Choose this option if you have a 512 KB ROM chip.
224
225 config COREBOOT_ROMSIZE_KB_1024
226         bool "1024 KB (1 MB)"
227         help
228           Choose this option if you have a 1024 KB (1 MB) ROM chip.
229
230 config COREBOOT_ROMSIZE_KB_2048
231         bool "2048 KB (2 MB)"
232         help
233           Choose this option if you have a 2048 KB (2 MB) ROM chip.
234
235 config COREBOOT_ROMSIZE_KB_4096
236         bool "4096 KB (4 MB)"
237         help
238           Choose this option if you have a 4096 KB (4 MB) ROM chip.
239
240 endchoice
241
242 # Map the config names to an integer (KB).
243 config COREBOOT_ROMSIZE_KB
244         int
245         default 128 if COREBOOT_ROMSIZE_KB_128
246         default 256 if COREBOOT_ROMSIZE_KB_256
247         default 512 if COREBOOT_ROMSIZE_KB_512
248         default 1024 if COREBOOT_ROMSIZE_KB_1024
249         default 2048 if COREBOOT_ROMSIZE_KB_2048
250         default 4096 if COREBOOT_ROMSIZE_KB_4096
251
252 # Map the config names to a hex value (bytes).
253 config ROM_SIZE
254         hex
255         default 0x20000 if COREBOOT_ROMSIZE_KB_128
256         default 0x40000 if COREBOOT_ROMSIZE_KB_256
257         default 0x80000 if COREBOOT_ROMSIZE_KB_512
258         default 0x100000 if COREBOOT_ROMSIZE_KB_1024
259         default 0x200000 if COREBOOT_ROMSIZE_KB_2048
260         default 0x400000 if COREBOOT_ROMSIZE_KB_4096
261
262 config ENABLE_POWER_BUTTON
263         bool "Enable the power button" if POWER_BUTTON_IS_OPTIONAL
264         default y if POWER_BUTTON_DEFAULT_ENABLE
265         default n if POWER_BUTTON_DEFAULT_DISABLE
266         help
267           The selected mainboard can optionally have the power button tied
268           to ground with a jumper so that the button appears to be
269           constantly depressed. If this option is enabled and the jumper is
270           installed then the board will turn on, but turn off again after a
271           short timeout, usually 4 seconds.
272
273           Select Y here if you have removed the jumper and want to use an
274           actual power button. Select N if you have the jumper installed.
275
276 config ENABLE_POWER_BUTTON
277         def_bool y if !POWER_BUTTON_IS_OPTIONAL && POWER_BUTTON_FORCE_ENABLE
278         def_bool n if !POWER_BUTTON_IS_OPTIONAL && POWER_BUTTON_FORCE_DISABLE
279
280 endmenu