Add missing SUPERIO_ITE_IT8716F_OVERRIDE_FANCTL kconfig variable.
[coreboot.git] / src / Kconfig
1 ##
2 ## This file is part of the coreboot repair project.
3 ##
4 ## Redistribution and use in source and binary forms, with or without
5 ## modification, are permitted provided that the following conditions
6 ## are met:
7 ## 1. Redistributions of source code must retain the above copyright
8 ##    notice, this list of conditions and the following disclaimer.
9 ## 2. Redistributions in binary form must reproduce the above copyright
10 ##    notice, this list of conditions and the following disclaimer in the
11 ##    documentation and/or other materials provided with the distribution.
12 ## 3. The name of the author may not be used to endorse or promote products
13 ##    derived from this software without specific prior written permission.
14 ##
15 ## THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND
16 ## ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
17 ## IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
18 ## ARE DISCLAIMED.  IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE
19 ## FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
20 ## DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
21 ## OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
22 ## HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
23 ## LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
24 ## OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
25 ## SUCH DAMAGE.
26 ##
27
28 mainmenu "Coreboot Configuration"
29
30 menu "General setup"
31
32 config EXPERT
33         bool "Expert mode"
34         help
35           This allows you to select certain advanced configuration options.
36
37           Warning: Only enable this option if you really know what you are
38           doing! You have been warned!
39
40 config LOCALVERSION
41         string "Local version string"
42         help
43           Append an extra string to the end of the coreboot version.
44
45           This can be useful if, for instance, you want to append the
46           respective board's hostname or some other identifying string to
47           the coreboot version number, so that you can easily distinguish
48           boot logs of different boards from each other.
49
50 endmenu
51
52 source src/mainboard/Kconfig
53 source src/arch/i386/Kconfig
54 source src/arch/ppc/Kconfig
55 source src/northbridge/Kconfig
56 source src/devices/Kconfig
57 source src/southbridge/Kconfig
58 source src/superio/Kconfig
59 source src/cpu/Kconfig
60
61 config PCI_BUS_SEGN_BITS
62         int
63         default 0
64
65 config MAINBOARD_PCI_SUBSYSTEM_VENDOR_ID
66         hex
67         default 0x0
68
69 config MAINBOARD_PCI_SUBSYSTEM_DEVICE_ID
70         hex
71         default 0x0
72
73 config CPU_ADDR_BITS
74         int
75         default 36
76
77 config AGP_APERTURE_SIZE
78         hex
79         default 0x0
80
81 config XIP_ROM_BASE
82         hex
83         default 0xfffe0000
84
85 config XIP_ROM_SIZE
86         hex
87         default 0x20000
88
89 config LB_CKS_RANGE_START
90         int
91         default 49
92
93 config LB_CKS_RANGE_END
94         int
95         default 125
96
97 config LB_CKS_LOC
98         int
99         default 126
100
101 config LOGICAL_CPUS
102         bool
103         default y
104
105 config PCI_ROM_RUN
106         bool
107         default n
108
109 config HEAP_SIZE
110         hex
111         default 0x4000
112
113 config COREBOOT_V2
114         bool
115         default y
116
117 config COREBOOT_V4
118         bool
119         default y
120
121 config DEBUG
122         bool
123         default n
124
125 config USE_PRINTK_IN_CAR
126         bool
127         default n
128
129 config USE_OPTION_TABLE
130         bool
131         default n
132
133 config MAX_CPUS
134         int
135         default 1
136
137 config MMCONF_SUPPORT_DEFAULT
138         bool
139         default n
140
141 config MMCONF_SUPPORT
142         bool
143         default n
144
145 config RAMTOP
146         hex
147         default 0x200000
148
149 config ATI_RAGE_XL
150         bool
151
152 source src/console/Kconfig
153
154 config HAVE_ACPI_RESUME
155         bool
156         default n
157
158 config ACPI_SSDTX_NUM
159         int
160         default 0
161
162 config HAVE_FALLBACK_BOOT
163         bool
164         default y
165
166 config USE_FALLBACK_IMAGE
167         bool
168         default y
169
170 config HAVE_FAILOVER_BOOT
171         bool
172         default n
173
174 config USE_FAILOVER_IMAGE
175         bool
176         default n
177
178 config HAVE_HARD_RESET
179         bool
180         default n
181
182 config HAVE_INIT_TIMER
183         bool
184         default n
185
186 config HAVE_MAINBOARD_RESOURCES
187         bool
188         default n
189
190 config HAVE_MOVNTI
191         bool
192         default y
193
194 config HAVE_OPTION_TABLE
195         bool
196         default y
197         help
198           This variable specifies whether a given board has a cmos.layout
199           file containing NVRAM/CMOS bit definitions.
200           It defaults to 'y' but can be changed to 'n' in mainboard/*/Kconfig.
201
202 config PIRQ_ROUTE
203         bool
204         default n
205
206 config HAVE_SMI_HANDLER
207         bool
208         default n
209
210 config PCI_IO_CFG_EXT
211         bool
212         default n
213
214 config IOAPIC
215         bool
216         default n
217
218 config VIDEO_MB
219         int
220
221 config USE_WATCHDOG_ON_BOOT
222         bool
223         default n
224
225 config VGA
226         bool
227         default n
228         help
229           Build board-specific VGA code.
230
231 config GFXUMA
232         bool
233         help
234           Enable Unified Memory Architecture for graphics.
235
236 config SUPERIO_ITE_IT8716F_OVERRIDE_FANCTL
237         bool
238         default n
239
240 # TODO
241 # menu "Drivers"
242 #
243 # endmenu
244
245 config HAVE_ACPI_TABLES
246         bool
247         help
248           This variable specifies whether a given board has ACPI table support.
249           It is usually set in mainboard/*/Kconfig.
250           Whether or not the ACPI tables are actually generated by coreboot
251           is configurable by the user via GENERATE_ACPI_TABLES.
252
253 config HAVE_MP_TABLE
254         bool
255         help
256           This variable specifies whether a given board has MP table support.
257           It is usually set in mainboard/*/Kconfig.
258           Whether or not the MP table is actually generated by coreboot
259           is configurable by the user via GENERATE_MP_TABLE.
260
261 config HAVE_PIRQ_TABLE
262         bool
263         help
264           This variable specifies whether a given board has PIRQ table support.
265           It is usually set in mainboard/*/Kconfig.
266           Whether or not the PIRQ table is actually generated by coreboot
267           is configurable by the user via GENERATE_PIRQ_TABLE.
268
269 config HAVE_HIGH_TABLES
270         bool
271
272 menu "System tables"
273
274 config HAVE_LOW_TABLES
275         bool
276         default y
277
278 config WRITE_HIGH_TABLES
279         bool "Write 'high' tables to avoid being overwritten in F segment"
280         depends on HAVE_HIGH_TABLES
281         default y
282
283 config MULTIBOOT
284         bool "Generate Multiboot tables (for GRUB2)"
285         default n
286
287 config GENERATE_ACPI_TABLES
288         depends on HAVE_ACPI_TABLES
289         bool "Generate ACPI tables"
290         default y
291         help
292           Generate ACPI tables for this board.
293
294           If unsure, say Y.
295
296 config GENERATE_MP_TABLE
297         depends on HAVE_MP_TABLE
298         bool "Generate an MP table"
299         default y
300         help
301           Generate an MP table (conforming to the Intel MultiProcessor
302           specification 1.4) for this board.
303
304           If unsure, say Y.
305
306 config GENERATE_PIRQ_TABLE
307         depends on HAVE_PIRQ_TABLE
308         bool "Generate a PIRQ table"
309         default y
310         help
311           Generate a PIRQ table for this board.
312
313           If unsure, say Y.
314
315 endmenu
316
317 menu "Payload"
318
319 choice
320         prompt "Add a payload"
321         default PAYLOAD_NONE
322
323 config PAYLOAD_NONE
324         bool "None"
325         help
326           Select this option if you want to create an "empty" coreboot
327           ROM image for a certain mainboard, i.e. a coreboot ROM image
328           which does not yet contain a payload.
329
330           For such an image to be useful, you have to use 'cbfstool'
331           to add a payload to the ROM image later.
332
333 config PAYLOAD_ELF
334         bool "An ELF executable payload"
335         help
336           Select this option if you have a payload image (an ELF file)
337           which coreboot should run as soon as the basic hardware
338           initialization is completed.
339
340           You will be able to specify the location and file name of the
341           payload image later.
342
343 endchoice
344
345 config FALLBACK_PAYLOAD_FILE
346         string "Payload path and filename"
347         depends on PAYLOAD_ELF
348         default "payload.elf"
349         help
350           The path and filename of the ELF executable file to use as payload.
351
352 # TODO: Defined if no payload? Breaks build?
353 config COMPRESSED_PAYLOAD_LZMA
354         bool "Use LZMA compression for payloads"
355         default y
356         depends on PAYLOAD_ELF
357         help
358           In order to reduce the size payloads take up in the ROM chip
359           coreboot can compress them using the LZMA algorithm.
360
361 config COMPRESSED_PAYLOAD_NRV2B
362         bool
363         default n
364
365 endmenu
366
367 menu "VGA BIOS"
368
369 config VGA_BIOS
370         bool "Add a VGA BIOS image"
371         help
372           Select this option if you have a VGA BIOS image that you would
373           like to add to your ROM.
374
375           You will be able to specify the location and file name of the
376           image later.
377
378 config FALLBACK_VGA_BIOS_FILE
379         string "VGA BIOS path and filename"
380         depends on VGA_BIOS
381         default "vgabios.bin"
382         help
383           The path and filename of the file to use as VGA BIOS.
384
385 config FALLBACK_VGA_BIOS_ID
386         string "VGA BIOS ID"
387         depends on VGA_BIOS
388         default "1106,3230"
389         help
390           The comma-separated PCI vendor and device ID that would associate
391           your VGA BIOS to your video card.
392
393           Example: 1106,3230
394
395           In the above example 1106 is the PCI vendor ID (in hex, but without
396           the "0x" prefix) and 3230 specifies the PCI device ID of the
397           video card (also in hex, without "0x" prefix).
398
399 endmenu
400
401 menu "Debugging"
402
403 # TODO: Better help text and detailed instructions.
404 config GDB_STUB
405         bool "GDB debugging support"
406         default y
407         help
408           If enabled, you will be able to set breakpoints for gdb debugging.
409           See src/arch/i386/lib/c_start.S for details.
410
411 endmenu
412