blob: b2508bbc8a84808b7c8f782afc8ac915468ea7ba [file] [log] [blame]
Patrick Georgi0588d192009-08-12 15:00:51 +00001##
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
28mainmenu "Coreboot Configuration"
29
Uwe Hermannc04be932009-10-05 13:55:28 +000030menu "General setup"
31
32config LOCALVERSION
33 string "Local version - append to coreboot release"
34 help
35 Append an extra string to the end of the coreboot version.
36
37endmenu
38
Patrick Georgi0588d192009-08-12 15:00:51 +000039source src/mainboard/Kconfig
40source src/arch/i386/Kconfig
41source src/arch/ppc/Kconfig
Patrick Georgi0588d192009-08-12 15:00:51 +000042source src/northbridge/Kconfig
Myles Watson74fb8f22009-09-24 15:09:11 +000043source src/devices/Kconfig
Patrick Georgi0588d192009-08-12 15:00:51 +000044source src/southbridge/Kconfig
45source src/superio/Kconfig
46source src/cpu/Kconfig
47
Patrick Georgi0588d192009-08-12 15:00:51 +000048config PCI_BUS_SEGN_BITS
Myles Watson74fb8f22009-09-24 15:09:11 +000049 int
50 default 0
Patrick Georgi892b0912009-09-24 09:03:06 +000051
Patrick Georgi0588d192009-08-12 15:00:51 +000052config MAINBOARD_PCI_SUBSYSTEM_VENDOR_ID
Uwe Hermann5ec2c2b2009-08-25 00:53:22 +000053 hex
54 default 0
Patrick Georgi0588d192009-08-12 15:00:51 +000055
56config MAINBOARD_PCI_SUBSYSTEM_DEVICE_ID
Uwe Hermann5ec2c2b2009-08-25 00:53:22 +000057 hex
58 default 0
Patrick Georgi0588d192009-08-12 15:00:51 +000059
60config CPU_ADDR_BITS
61 int
62 default 36
63
64config XIP_ROM_BASE
65 hex
66 default 0xfffe0000
67
68config XIP_ROM_SIZE
69 hex
70 default 0x20000
71
72config LB_CKS_RANGE_START
73 int
74 default 49
75
76config LB_CKS_RANGE_END
77 int
78 default 125
79
80config LB_CKS_LOC
81 int
82 default 126
83
84config LOGICAL_CPUS
Myles Watson45bb25f2009-09-22 18:49:08 +000085 bool
86 default y
Patrick Georgi0588d192009-08-12 15:00:51 +000087
88config PCI_ROM_RUN
Patrick Georgi698c0e0e2009-08-25 17:38:24 +000089 bool
90 default n
Patrick Georgi0588d192009-08-12 15:00:51 +000091
Patrick Georgi0588d192009-08-12 15:00:51 +000092config HEAP_SIZE
93 hex
94 default 0x2000
95
96config COREBOOT_V2
97 bool
98 default y
99
100config COREBOOT_V4
101 bool
102 default y
103
104config DEBUG
105 bool
106 default n
107
108config USE_PRINTK_IN_CAR
109 bool
110 default n
111
112config USE_OPTION_TABLE
113 bool
114 default n
115
116config MAX_CPUS
117 int
118 default 1
119
120config MMCONF_SUPPORT_DEFAULT
121 bool
122 default n
123
124config MMCONF_SUPPORT
125 bool
126 default n
127
128config LB_MEM_TOPK
129 int
130 default 2048
131
Patrick Georgi0588d192009-08-12 15:00:51 +0000132config COMPRESSED_PAYLOAD_LZMA
133 bool
134 default y
135
136config COMPRESSED_PAYLOAD_NRV2B
137 bool
138 default n
139
140source src/console/Kconfig
141
142config HAVE_ACPI_RESUME
143 bool
144 default n
145
146config ACPI_SSDTX_NUM
147 int
148 default 0
149
Patrick Georgi0588d192009-08-12 15:00:51 +0000150config HAVE_FALLBACK_BOOT
151 bool
152 default y
153
154config USE_FALLBACK_IMAGE
155 bool
156 default y
157
Patrick Georgi37ea3412009-10-03 21:04:13 +0000158config HAVE_FAILOVER_BOOT
159 bool
160 default n
161
162config USE_FAILOVER_IMAGE
163 bool
164 default n
165
Patrick Georgi0588d192009-08-12 15:00:51 +0000166config HAVE_HARD_RESET
167 bool
Ronald G. Minnich1df483d2009-10-01 16:51:36 +0000168 default 0
Patrick Georgi0588d192009-08-12 15:00:51 +0000169
170config HAVE_INIT_TIMER
171 bool
172 default n
173
174config HAVE_MAINBOARD_RESOURCES
175 bool
176 default n
177
178config HAVE_MOVNTI
179 bool
180 default y
181
Patrick Georgi0588d192009-08-12 15:00:51 +0000182config HAVE_OPTION_TABLE
183 bool
184 default y
185
Patrick Georgi0588d192009-08-12 15:00:51 +0000186config PIRQ_ROUTE
187 bool
188 default n
189
190config HAVE_SMI_HANDLER
191 bool
192 default n
193
194config PCI_IO_CFG_EXT
195 bool
196 default n
197
198config IOAPIC
199 bool
200 default n
201
Uwe Hermann70b0cf22009-10-04 17:15:39 +0000202config VIDEO_MB
203 int
204 default 0
205
Myles Watson45bb25f2009-09-22 18:49:08 +0000206config USE_WATCHDOG_ON_BOOT
207 bool
208 default n
209
210config VGA
211 bool
212 default n
213 help
214 Build board-specific VGA code.
215
216config GFXUMA
217 bool
218 default n
219 help
220 Enable Unified Memory Architecture for graphics.
221
Uwe Hermann5ec2c2b2009-08-25 00:53:22 +0000222# TODO
223# menu "Drivers"
224#
225# endmenu
Patrick Georgi0588d192009-08-12 15:00:51 +0000226
Myles Watson45bb25f2009-09-22 18:49:08 +0000227menu "Generated System Tables"
228
229config HAVE_LOW_TABLES
230 bool
231 default y
232
233config HAVE_HIGH_TABLES
234 bool "Write 'high' tables to avoid being overwritten in F segment"
235 default y
236
237config MULTIBOOT
238 bool "Add Multiboot tables (for grub2)"
239 default n
240
241config HAVE_ACPI_TABLES
242 bool "Generate ACPI tables"
243 default n
244
245config HAVE_MP_TABLE
246 bool "Generate an MP table"
247 default n
248
249config HAVE_PIRQ_TABLE
250 bool "Generate a PIRQ table"
251 default n
252
253endmenu
254
Patrick Georgi0588d192009-08-12 15:00:51 +0000255menu "Payload"
256
257config COMPRESSED_PAYLOAD_LZMA
258 bool "Use LZMA compression for payloads"
259 default yes
260
261choice
262 prompt "Payload type"
263 default PAYLOAD_NONE
264
265config PAYLOAD_ELF
266 bool "An ELF executable payload file"
267 help
268 Select this option if you have a payload image (an ELF file)
269 which coreboot should run as soon as the basic hardware
270 initialization is completed.
271
272 You will be able to specify the location and file name of the
273 payload image later.
Patrick Georgi0588d192009-08-12 15:00:51 +0000274config PAYLOAD_NONE
275 bool "No payload"
276 help
277 Select this option if you want to create an "empty" coreboot
278 ROM image for a certain mainboard, i.e. a coreboot ROM image
279 which does not yet contain a payload.
280
Uwe Hermann5ec2c2b2009-08-25 00:53:22 +0000281 For such an image to be useful, you have to use the 'cbfs' tool
Patrick Georgi0588d192009-08-12 15:00:51 +0000282 to add a payload to the ROM image later.
283
284endchoice
285
Patrick Georgi0588d192009-08-12 15:00:51 +0000286config FALLBACK_PAYLOAD_FILE
Cristi Magherusanb5034d42009-08-17 14:47:32 +0000287 string "Payload path and filename"
Patrick Georgi0588d192009-08-12 15:00:51 +0000288 depends on PAYLOAD_ELF
289 default "payload.elf"
290 help
Uwe Hermann5ec2c2b2009-08-25 00:53:22 +0000291 The path and filename of the ELF executable file to use as payload.
Patrick Georgi0588d192009-08-12 15:00:51 +0000292
Peter Stugea758ca22009-09-17 16:21:31 +0000293endmenu
294
295menu "VGA BIOS"
296
297config VGA_BIOS
298 bool "Add a VGA BIOS image"
299 help
300 Select this option if you have a VGA BIOS image that you would
301 like to add to your ROM.
302
303 You will be able to specify the location and file name of the
304 image later.
305
Cristi Magherusan488c36c2009-08-17 14:46:13 +0000306config FALLBACK_VGA_BIOS_FILE
307 string "VGA BIOS path and filename"
308 depends on VGA_BIOS
309 default "vgabios.bin"
310 help
311 The path and filename of the file to use as VGA BIOS.
312
313config FALLBACK_VGA_BIOS_ID
314 string "VGA BIOS ID"
315 depends on VGA_BIOS
316 default "1106,3230"
317 help
Myles Watson28412f52009-09-17 16:54:46 +0000318 The ID that would associate your VGA BIOS to your video card.
319 (PCI VendorID, PCI Device ID)
Cristi Magherusan488c36c2009-08-17 14:46:13 +0000320
Patrick Georgi0588d192009-08-12 15:00:51 +0000321endmenu
322
323config GDB_STUB
Uwe Hermann5ec2c2b2009-08-25 00:53:22 +0000324 bool "GDB debugging support"
Patrick Georgi0588d192009-08-12 15:00:51 +0000325 default y
326 help
Uwe Hermann5ec2c2b2009-08-25 00:53:22 +0000327 If enabled, you will be able to set breakpoints for gdb debugging.
328 See src/arch/i386/lib/c_start.S for details.
Patrick Georgi0588d192009-08-12 15:00:51 +0000329