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