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