Separate CONFIG_VGA_CONSOLE from CONFIG_VGA_BRIDGE_SETUP.
[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 source src/mainboard/Kconfig
31 source src/arch/i386/Kconfig
32 source src/arch/ppc/Kconfig
33 source src/devices/Kconfig
34 source src/northbridge/Kconfig
35 source src/southbridge/Kconfig
36 source src/superio/Kconfig
37 source src/cpu/Kconfig
38
39 config CBFS
40         bool
41         default y
42
43 config HAVE_HIGH_TABLES
44         bool
45         default y
46
47 config PCI_BUS_SEGN_BITS
48         int
49         default 0
50
51 config MAINBOARD_PCI_SUBSYSTEM_VENDOR_ID
52         hex
53         default 0
54
55 config MAINBOARD_PCI_SUBSYSTEM_DEVICE_ID
56         hex
57         default 0
58
59 config CPU_ADDR_BITS
60         int
61         default 36
62
63 config XIP_ROM_BASE
64         hex
65         default 0xfffe0000
66
67 config XIP_ROM_SIZE
68         hex
69         default 0x20000
70
71 config LB_CKS_RANGE_START
72         int
73         default 49
74
75 config LB_CKS_RANGE_END
76         int
77         default 125
78
79 config LB_CKS_LOC
80         int
81         default 126
82
83 config LOGICAL_CPUS
84         int
85         default 1
86
87 config PCI_ROM_RUN
88         bool
89         default n
90
91 config HT_CHAIN_UNITID_BASE
92         int
93         default 1
94
95 config HT_CHAIN_END_UNITID_BASE
96         int
97         default 32
98
99 config HEAP_SIZE
100         hex
101         default 0x2000
102
103 config COREBOOT_V2
104         bool
105         default y
106
107 config COREBOOT_V4
108         bool
109         default y
110
111 config DEBUG
112         bool
113         default n
114
115 config USE_PRINTK_IN_CAR
116         bool
117         default n
118
119 config USE_OPTION_TABLE
120         bool
121         default n
122
123 config MAX_CPUS
124         int
125         default 1
126
127 config MMCONF_SUPPORT_DEFAULT
128         bool
129         default n
130
131 config MMCONF_SUPPORT
132         bool
133         default n
134
135 config LB_MEM_TOPK
136         int
137         default 2048
138
139 config MULTIBOOT
140         bool
141         default n
142
143 config COMPRESSED_PAYLOAD_LZMA
144         bool
145         default y
146
147 config COMPRESSED_PAYLOAD_NRV2B
148         bool
149         default n
150
151 source src/console/Kconfig
152
153 config HAVE_ACPI_RESUME
154         bool
155         default n
156
157 config ACPI_SSDTX_NUM
158         int
159         default 0
160
161 config HAVE_ACPI_TABLES
162         bool
163         default n
164
165 config HAVE_FALLBACK_BOOT
166         bool
167         default y
168
169 config USE_FALLBACK_IMAGE
170         bool
171         default y
172
173 config HAVE_HARD_RESET
174         bool
175         default n
176
177 config HAVE_INIT_TIMER
178         bool
179         default n
180
181 config HAVE_MAINBOARD_RESOURCES
182         bool
183         default n
184
185 config HAVE_MOVNTI
186         bool
187         default y
188
189 config HAVE_MP_TABLE
190         bool
191         default n
192
193 config HAVE_OPTION_TABLE
194         bool
195         default y
196
197 config HAVE_PIRQ_TABLE
198         bool
199         default n
200
201 config PIRQ_ROUTE
202         bool
203         default n
204
205 config HAVE_SMI_HANDLER
206         bool
207         default n
208
209 config PCI_IO_CFG_EXT
210         bool
211         default n
212
213 config IOAPIC
214         bool
215         default n
216
217 # TODO
218 # menu "Drivers"
219
220 # endmenu
221
222 menu "Payload"
223
224 config COMPRESSED_PAYLOAD_LZMA
225         bool "Use LZMA compression for payloads"
226         default yes
227
228 choice
229         prompt "Payload type"
230         default PAYLOAD_NONE
231
232 config PAYLOAD_ELF
233         bool "An ELF executable payload file"
234         help
235           Select this option if you have a payload image (an ELF file)
236           which coreboot should run as soon as the basic hardware
237           initialization is completed.
238
239           You will be able to specify the location and file name of the
240           payload image later.
241 config PAYLOAD_NONE
242         bool "No payload"
243         help
244           Select this option if you want to create an "empty" coreboot
245           ROM image for a certain mainboard, i.e. a coreboot ROM image
246           which does not yet contain a payload.
247
248           For such an image to be useful, you have to use the 'cbfs' tool
249           to add a payload to the ROM image later.
250
251 endchoice
252
253 config FALLBACK_PAYLOAD_FILE
254         string "Payload path and filename"
255         depends on PAYLOAD_ELF
256         default "payload.elf"
257         help
258           The path and filename of the ELF executable file to use as payload.
259
260 endmenu
261
262 menu "VGA BIOS"
263
264 config VGA_BIOS
265         bool "Add a VGA BIOS image"
266         help
267           Select this option if you have a VGA BIOS image that you would
268           like to add to your ROM.
269
270           You will be able to specify the location and file name of the
271           image later.
272
273 config FALLBACK_VGA_BIOS_FILE
274         string "VGA BIOS path and filename"
275         depends on VGA_BIOS
276         default "vgabios.bin"
277         help
278           The path and filename of the file to use as VGA BIOS.
279
280 config FALLBACK_VGA_BIOS_ID
281         string "VGA BIOS ID"
282         depends on VGA_BIOS
283         default "1106,3230"
284         help
285           The ID that would associate your VGA BIOS to your video card.
286           (PCI VendorID, PCI Device ID)
287
288 endmenu
289
290 config GDB_STUB
291         bool "GDB debugging support"
292         default y
293         help
294           If enabled, you will be able to set breakpoints for gdb debugging.
295           See src/arch/i386/lib/c_start.S for details.
296