blob: 7d268b0f0de93c95e7c9c12004c61d8adfd375dd [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
30source src/mainboard/Kconfig
31source src/arch/i386/Kconfig
32source src/arch/ppc/Kconfig
Patrick Georgi0588d192009-08-12 15:00:51 +000033source src/northbridge/Kconfig
Myles Watson74fb8f22009-09-24 15:09:11 +000034source src/devices/Kconfig
Patrick Georgi0588d192009-08-12 15:00:51 +000035source src/southbridge/Kconfig
36source src/superio/Kconfig
37source src/cpu/Kconfig
38
39config CBFS
40 bool
41 default y
42
Patrick Georgi0588d192009-08-12 15:00:51 +000043config PCI_BUS_SEGN_BITS
Myles Watson74fb8f22009-09-24 15:09:11 +000044 int
45 default 0
Patrick Georgi892b0912009-09-24 09:03:06 +000046
Patrick Georgi0588d192009-08-12 15:00:51 +000047config MAINBOARD_PCI_SUBSYSTEM_VENDOR_ID
Uwe Hermann5ec2c2b2009-08-25 00:53:22 +000048 hex
49 default 0
Patrick Georgi0588d192009-08-12 15:00:51 +000050
51config MAINBOARD_PCI_SUBSYSTEM_DEVICE_ID
Uwe Hermann5ec2c2b2009-08-25 00:53:22 +000052 hex
53 default 0
Patrick Georgi0588d192009-08-12 15:00:51 +000054
55config CPU_ADDR_BITS
56 int
57 default 36
58
59config XIP_ROM_BASE
60 hex
61 default 0xfffe0000
62
63config XIP_ROM_SIZE
64 hex
65 default 0x20000
66
67config LB_CKS_RANGE_START
68 int
69 default 49
70
71config LB_CKS_RANGE_END
72 int
73 default 125
74
75config LB_CKS_LOC
76 int
77 default 126
78
79config LOGICAL_CPUS
Myles Watson45bb25f2009-09-22 18:49:08 +000080 bool
81 default y
Patrick Georgi0588d192009-08-12 15:00:51 +000082
83config PCI_ROM_RUN
Patrick Georgi698c0e0e2009-08-25 17:38:24 +000084 bool
85 default n
Patrick Georgi0588d192009-08-12 15:00:51 +000086
Patrick Georgi0588d192009-08-12 15:00:51 +000087config HEAP_SIZE
88 hex
89 default 0x2000
90
91config COREBOOT_V2
92 bool
93 default y
94
95config COREBOOT_V4
96 bool
97 default y
98
99config DEBUG
100 bool
101 default n
102
103config USE_PRINTK_IN_CAR
104 bool
105 default n
106
107config USE_OPTION_TABLE
108 bool
109 default n
110
111config MAX_CPUS
112 int
113 default 1
114
115config MMCONF_SUPPORT_DEFAULT
116 bool
117 default n
118
119config MMCONF_SUPPORT
120 bool
121 default n
122
123config LB_MEM_TOPK
124 int
125 default 2048
126
Patrick Georgi0588d192009-08-12 15:00:51 +0000127config COMPRESSED_PAYLOAD_LZMA
128 bool
129 default y
130
131config COMPRESSED_PAYLOAD_NRV2B
132 bool
133 default n
134
135source src/console/Kconfig
136
137config HAVE_ACPI_RESUME
138 bool
139 default n
140
141config ACPI_SSDTX_NUM
142 int
143 default 0
144
Patrick Georgi0588d192009-08-12 15:00:51 +0000145config HAVE_FALLBACK_BOOT
146 bool
147 default y
148
149config USE_FALLBACK_IMAGE
150 bool
151 default y
152
153config HAVE_HARD_RESET
154 bool
155 default n
156
157config HAVE_INIT_TIMER
158 bool
159 default n
160
161config HAVE_MAINBOARD_RESOURCES
162 bool
163 default n
164
165config HAVE_MOVNTI
166 bool
167 default y
168
Patrick Georgi0588d192009-08-12 15:00:51 +0000169config HAVE_OPTION_TABLE
170 bool
171 default y
172
Patrick Georgi0588d192009-08-12 15:00:51 +0000173config PIRQ_ROUTE
174 bool
175 default n
176
177config HAVE_SMI_HANDLER
178 bool
179 default n
180
181config PCI_IO_CFG_EXT
182 bool
183 default n
184
185config IOAPIC
186 bool
187 default n
188
Myles Watson45bb25f2009-09-22 18:49:08 +0000189config USE_WATCHDOG_ON_BOOT
190 bool
191 default n
192
193config VGA
194 bool
195 default n
196 help
197 Build board-specific VGA code.
198
199config GFXUMA
200 bool
201 default n
202 help
203 Enable Unified Memory Architecture for graphics.
204
Uwe Hermann5ec2c2b2009-08-25 00:53:22 +0000205# TODO
206# menu "Drivers"
207#
208# endmenu
Patrick Georgi0588d192009-08-12 15:00:51 +0000209
Myles Watson45bb25f2009-09-22 18:49:08 +0000210menu "Generated System Tables"
211
212config HAVE_LOW_TABLES
213 bool
214 default y
215
216config HAVE_HIGH_TABLES
217 bool "Write 'high' tables to avoid being overwritten in F segment"
218 default y
219
220config MULTIBOOT
221 bool "Add Multiboot tables (for grub2)"
222 default n
223
224config HAVE_ACPI_TABLES
225 bool "Generate ACPI tables"
226 default n
227
228config HAVE_MP_TABLE
229 bool "Generate an MP table"
230 default n
231
232config HAVE_PIRQ_TABLE
233 bool "Generate a PIRQ table"
234 default n
235
236endmenu
237
Patrick Georgi0588d192009-08-12 15:00:51 +0000238menu "Payload"
239
240config COMPRESSED_PAYLOAD_LZMA
241 bool "Use LZMA compression for payloads"
242 default yes
243
244choice
245 prompt "Payload type"
246 default PAYLOAD_NONE
247
248config PAYLOAD_ELF
249 bool "An ELF executable payload file"
250 help
251 Select this option if you have a payload image (an ELF file)
252 which coreboot should run as soon as the basic hardware
253 initialization is completed.
254
255 You will be able to specify the location and file name of the
256 payload image later.
Patrick Georgi0588d192009-08-12 15:00:51 +0000257config PAYLOAD_NONE
258 bool "No payload"
259 help
260 Select this option if you want to create an "empty" coreboot
261 ROM image for a certain mainboard, i.e. a coreboot ROM image
262 which does not yet contain a payload.
263
Uwe Hermann5ec2c2b2009-08-25 00:53:22 +0000264 For such an image to be useful, you have to use the 'cbfs' tool
Patrick Georgi0588d192009-08-12 15:00:51 +0000265 to add a payload to the ROM image later.
266
267endchoice
268
Patrick Georgi0588d192009-08-12 15:00:51 +0000269config FALLBACK_PAYLOAD_FILE
Cristi Magherusanb5034d42009-08-17 14:47:32 +0000270 string "Payload path and filename"
Patrick Georgi0588d192009-08-12 15:00:51 +0000271 depends on PAYLOAD_ELF
272 default "payload.elf"
273 help
Uwe Hermann5ec2c2b2009-08-25 00:53:22 +0000274 The path and filename of the ELF executable file to use as payload.
Patrick Georgi0588d192009-08-12 15:00:51 +0000275
Peter Stugea758ca22009-09-17 16:21:31 +0000276endmenu
277
278menu "VGA BIOS"
279
280config VGA_BIOS
281 bool "Add a VGA BIOS image"
282 help
283 Select this option if you have a VGA BIOS image that you would
284 like to add to your ROM.
285
286 You will be able to specify the location and file name of the
287 image later.
288
Cristi Magherusan488c36c2009-08-17 14:46:13 +0000289config FALLBACK_VGA_BIOS_FILE
290 string "VGA BIOS path and filename"
291 depends on VGA_BIOS
292 default "vgabios.bin"
293 help
294 The path and filename of the file to use as VGA BIOS.
295
296config FALLBACK_VGA_BIOS_ID
297 string "VGA BIOS ID"
298 depends on VGA_BIOS
299 default "1106,3230"
300 help
Myles Watson28412f52009-09-17 16:54:46 +0000301 The ID that would associate your VGA BIOS to your video card.
302 (PCI VendorID, PCI Device ID)
Cristi Magherusan488c36c2009-08-17 14:46:13 +0000303
Patrick Georgi0588d192009-08-12 15:00:51 +0000304endmenu
305
306config GDB_STUB
Uwe Hermann5ec2c2b2009-08-25 00:53:22 +0000307 bool "GDB debugging support"
Patrick Georgi0588d192009-08-12 15:00:51 +0000308 default y
309 help
Uwe Hermann5ec2c2b2009-08-25 00:53:22 +0000310 If enabled, you will be able to set breakpoints for gdb debugging.
311 See src/arch/i386/lib/c_start.S for details.
Patrick Georgi0588d192009-08-12 15:00:51 +0000312