Patrick Georgi | 0588d19 | 2009-08-12 15:00:51 +0000 | [diff] [blame] | 1 | ## |
| 2 | ## This file is part of the coreboot project. |
| 3 | ## |
Stefan Reinauer | d650e99 | 2010-02-22 04:33:13 +0000 | [diff] [blame] | 4 | ## Copyright (C) 2007-2010 coresystems GmbH |
Patrick Georgi | 0588d19 | 2009-08-12 15:00:51 +0000 | [diff] [blame] | 5 | ## (Written by Stefan Reinauer <stepan@coresystems.de> for coresystems GmbH) |
| 6 | ## |
| 7 | ## This program is free software; you can redistribute it and/or modify |
| 8 | ## it under the terms of the GNU General Public License as published by |
Uwe Hermann | c70e9fc | 2010-02-15 23:10:19 +0000 | [diff] [blame] | 9 | ## the Free Software Foundation; version 2 of the License. |
Patrick Georgi | 0588d19 | 2009-08-12 15:00:51 +0000 | [diff] [blame] | 10 | ## |
| 11 | ## This program is distributed in the hope that it will be useful, |
| 12 | ## but WITHOUT ANY WARRANTY; without even the implied warranty of |
| 13 | ## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
| 14 | ## GNU General Public License for more details. |
| 15 | ## |
| 16 | ## You should have received a copy of the GNU General Public License |
| 17 | ## along with this program; if not, write to the Free Software |
Paul Menzel | a46a712 | 2013-02-23 18:37:27 +0100 | [diff] [blame] | 18 | ## Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA |
Patrick Georgi | 0588d19 | 2009-08-12 15:00:51 +0000 | [diff] [blame] | 19 | ## |
| 20 | |
Stefan Reinauer | 95a6396 | 2012-11-13 17:00:01 -0800 | [diff] [blame] | 21 | menu "Devices" |
Ronald G. Minnich | 69efaa0 | 2013-02-26 10:07:40 -0800 | [diff] [blame] | 22 | |
| 23 | # Only set this in the mainboard |
| 24 | config MAINBOARD_HAS_NATIVE_VGA_INIT |
| 25 | bool |
| 26 | default n |
| 27 | |
| 28 | config MAINBOARD_DO_NATIVE_VGA_INIT |
| 29 | bool "Use native graphics initialization" |
| 30 | depends on MAINBOARD_HAS_NATIVE_VGA_INIT |
| 31 | default n |
| 32 | help |
| 33 | Some mainboards, such as the Google Link, allow initializing the display |
| 34 | without the need of a binary only VGA OPROM. Enabling this option may be |
Paul Menzel | fd3451d | 2014-01-03 09:45:57 +0100 | [diff] [blame] | 35 | faster, but also lacks flexibility in setting modes. |
Ronald G. Minnich | 69efaa0 | 2013-02-26 10:07:40 -0800 | [diff] [blame] | 36 | |
| 37 | If unsure, say N. |
| 38 | |
Uwe Hermann | 168b11b | 2009-10-07 16:15:40 +0000 | [diff] [blame] | 39 | # TODO: Explain differences (if any) for onboard cards. |
Patrick Georgi | 0588d19 | 2009-08-12 15:00:51 +0000 | [diff] [blame] | 40 | config VGA_ROM_RUN |
Stefan Reinauer | afaa257 | 2011-10-06 16:47:51 -0700 | [diff] [blame] | 41 | bool "Run VGA Option ROMs" |
Peter Stuge | be0ede4 | 2012-10-27 14:17:04 +0200 | [diff] [blame] | 42 | default n if PAYLOAD_SEABIOS |
| 43 | default y if !PAYLOAD_SEABIOS |
Ronald G. Minnich | 69efaa0 | 2013-02-26 10:07:40 -0800 | [diff] [blame] | 44 | depends on PCI && !PAYLOAD_SEABIOS && !MAINBOARD_DO_NATIVE_VGA_INIT || EXPERT |
Patrick Georgi | 0588d19 | 2009-08-12 15:00:51 +0000 | [diff] [blame] | 45 | help |
Peter Stuge | b6fa47c | 2012-10-27 13:45:51 +0200 | [diff] [blame] | 46 | Execute VGA Option ROMs in coreboot if found. This is required |
| 47 | to enable PCI/AGP/PCI-E video cards when not using a SeaBIOS |
| 48 | payload. |
| 49 | |
| 50 | When using a SeaBIOS payload it runs all option ROMs with much |
| 51 | more complete BIOS interrupt services available than coreboot, |
| 52 | which some option ROMs require in order to function correctly. |
| 53 | |
| 54 | If unsure, say N when using SeaBIOS as payload, Y otherwise. |
Myles Watson | e680495 | 2009-08-28 14:36:12 +0000 | [diff] [blame] | 55 | |
Stefan Reinauer | 0a50084 | 2011-09-23 10:33:58 -0700 | [diff] [blame] | 56 | config S3_VGA_ROM_RUN |
Stefan Reinauer | afaa257 | 2011-10-06 16:47:51 -0700 | [diff] [blame] | 57 | bool "Re-run VGA Option ROMs on S3 resume" |
Stefan Reinauer | 0a50084 | 2011-09-23 10:33:58 -0700 | [diff] [blame] | 58 | default y |
| 59 | depends on VGA_ROM_RUN && HAVE_ACPI_RESUME |
| 60 | help |
Peter Stuge | b6fa47c | 2012-10-27 13:45:51 +0200 | [diff] [blame] | 61 | Execute VGA Option ROMs in coreboot when resuming from S3 suspend. |
| 62 | |
| 63 | When using a SeaBIOS payload it runs all option ROMs with much |
| 64 | more complete BIOS interrupt services available than coreboot, |
| 65 | which some option ROMs require in order to function correctly. |
| 66 | |
| 67 | If unsure, say N when using SeaBIOS as payload, Y otherwise. |
Stefan Reinauer | 0a50084 | 2011-09-23 10:33:58 -0700 | [diff] [blame] | 68 | |
Stefan Reinauer | afaa257 | 2011-10-06 16:47:51 -0700 | [diff] [blame] | 69 | config ON_DEVICE_ROM_RUN |
| 70 | bool "Run Option ROMs on PCI devices" |
Peter Stuge | be0ede4 | 2012-10-27 14:17:04 +0200 | [diff] [blame] | 71 | default n if PAYLOAD_SEABIOS |
| 72 | default y if !PAYLOAD_SEABIOS |
Stefan Reinauer | 2110c97 | 2012-12-08 00:50:44 +0100 | [diff] [blame] | 73 | depends on PCI && !PAYLOAD_SEABIOS || EXPERT |
Stefan Reinauer | afaa257 | 2011-10-06 16:47:51 -0700 | [diff] [blame] | 74 | help |
Peter Stuge | b6fa47c | 2012-10-27 13:45:51 +0200 | [diff] [blame] | 75 | Execute Option ROMs stored on PCI/PCIe/AGP devices in coreboot. |
Stefan Reinauer | afaa257 | 2011-10-06 16:47:51 -0700 | [diff] [blame] | 76 | |
Peter Stuge | b6fa47c | 2012-10-27 13:45:51 +0200 | [diff] [blame] | 77 | If disabled, only Option ROMs stored in CBFS will be executed by |
| 78 | coreboot. If you are concerned about security, you might want to |
| 79 | disable this option, but it might leave your system in a state of |
| 80 | degraded functionality. |
Stefan Reinauer | afaa257 | 2011-10-06 16:47:51 -0700 | [diff] [blame] | 81 | |
Peter Stuge | b6fa47c | 2012-10-27 13:45:51 +0200 | [diff] [blame] | 82 | When using a SeaBIOS payload it runs all option ROMs with much |
| 83 | more complete BIOS interrupt services available than coreboot, |
| 84 | which some option ROMs require in order to function correctly. |
| 85 | |
| 86 | If unsure, say N when using SeaBIOS as payload, Y otherwise. |
Stefan Reinauer | afaa257 | 2011-10-06 16:47:51 -0700 | [diff] [blame] | 87 | |
Patrick Georgi | 0588d19 | 2009-08-12 15:00:51 +0000 | [diff] [blame] | 88 | choice |
Uwe Hermann | 168b11b | 2009-10-07 16:15:40 +0000 | [diff] [blame] | 89 | prompt "Option ROM execution type" |
Stefan Reinauer | 14be4d0 | 2010-01-31 21:46:12 +0000 | [diff] [blame] | 90 | default PCI_OPTION_ROM_RUN_YABEL if !ARCH_X86 |
| 91 | default PCI_OPTION_ROM_RUN_REALMODE if ARCH_X86 |
Vladimir Serbinenko | b32816e | 2013-12-20 17:47:19 +0100 | [diff] [blame] | 92 | depends on VGA_ROM_RUN || GEODE_VSA |
Uwe Hermann | 168b11b | 2009-10-07 16:15:40 +0000 | [diff] [blame] | 93 | |
| 94 | config PCI_OPTION_ROM_RUN_REALMODE |
Stefan Reinauer | d650e99 | 2010-02-22 04:33:13 +0000 | [diff] [blame] | 95 | prompt "Native mode" |
Uwe Hermann | 168b11b | 2009-10-07 16:15:40 +0000 | [diff] [blame] | 96 | bool |
Stefan Reinauer | 14be4d0 | 2010-01-31 21:46:12 +0000 | [diff] [blame] | 97 | depends on ARCH_X86 |
Myles Watson | 28412f5 | 2009-09-17 16:54:46 +0000 | [diff] [blame] | 98 | help |
Stefan Reinauer | afaa257 | 2011-10-06 16:47:51 -0700 | [diff] [blame] | 99 | If you select this option, PCI Option ROMs will be executed |
Stefan Reinauer | 14be4d0 | 2010-01-31 21:46:12 +0000 | [diff] [blame] | 100 | natively on the CPU in real mode. No CPU emulation is involved, |
| 101 | so this is the fastest, but also the least secure option. |
| 102 | (only works on x86/x64 systems) |
Patrick Georgi | 0588d19 | 2009-08-12 15:00:51 +0000 | [diff] [blame] | 103 | |
Stefan Reinauer | d650e99 | 2010-02-22 04:33:13 +0000 | [diff] [blame] | 104 | config PCI_OPTION_ROM_RUN_YABEL |
Uwe Hermann | 548dbe7 | 2010-02-22 16:41:49 +0000 | [diff] [blame] | 105 | prompt "Secure mode" |
Uwe Hermann | 168b11b | 2009-10-07 16:15:40 +0000 | [diff] [blame] | 106 | bool |
Myles Watson | e3df121 | 2010-06-04 15:55:12 +0000 | [diff] [blame] | 107 | depends on !GEODE_VSA |
Uwe Hermann | 168b11b | 2009-10-07 16:15:40 +0000 | [diff] [blame] | 108 | help |
Stefan Reinauer | 14be4d0 | 2010-01-31 21:46:12 +0000 | [diff] [blame] | 109 | If you select this option, the x86emu CPU emulator will be used to |
Stefan Reinauer | afaa257 | 2011-10-06 16:47:51 -0700 | [diff] [blame] | 110 | execute PCI Option ROMs. |
Uwe Hermann | 548dbe7 | 2010-02-22 16:41:49 +0000 | [diff] [blame] | 111 | |
Stefan Reinauer | afaa257 | 2011-10-06 16:47:51 -0700 | [diff] [blame] | 112 | This option prevents Option ROMs from doing dirty tricks with the |
Uwe Hermann | 548dbe7 | 2010-02-22 16:41:49 +0000 | [diff] [blame] | 113 | system (such as installing SMM modules or hypervisors), but it is |
Stefan Reinauer | afaa257 | 2011-10-06 16:47:51 -0700 | [diff] [blame] | 114 | also significantly slower than the native Option ROM initialization |
Uwe Hermann | 548dbe7 | 2010-02-22 16:41:49 +0000 | [diff] [blame] | 115 | method. |
| 116 | |
Stefan Reinauer | d650e99 | 2010-02-22 04:33:13 +0000 | [diff] [blame] | 117 | This is the default choice for non-x86 systems. |
Uwe Hermann | 548dbe7 | 2010-02-22 16:41:49 +0000 | [diff] [blame] | 118 | |
Patrick Georgi | 0588d19 | 2009-08-12 15:00:51 +0000 | [diff] [blame] | 119 | endchoice |
Uwe Hermann | 5ec2c2b | 2009-08-25 00:53:22 +0000 | [diff] [blame] | 120 | |
Stefan Reinauer | 9a35853 | 2010-02-12 09:32:17 +0000 | [diff] [blame] | 121 | config YABEL_PCI_ACCESS_OTHER_DEVICES |
Stefan Reinauer | afaa257 | 2011-10-06 16:47:51 -0700 | [diff] [blame] | 122 | prompt "Allow Option ROMs to access other devices" |
Stefan Reinauer | 9a35853 | 2010-02-12 09:32:17 +0000 | [diff] [blame] | 123 | bool |
| 124 | depends on PCI_OPTION_ROM_RUN_YABEL |
| 125 | help |
Stefan Reinauer | afaa257 | 2011-10-06 16:47:51 -0700 | [diff] [blame] | 126 | Per default, YABEL only allows Option ROMs to access the PCI device |
Stefan Reinauer | 9a35853 | 2010-02-12 09:32:17 +0000 | [diff] [blame] | 127 | that they are associated with. However, this causes trouble for some |
Stefan Reinauer | afaa257 | 2011-10-06 16:47:51 -0700 | [diff] [blame] | 128 | onboard graphics chips whose Option ROM needs to reconfigure the |
Uwe Hermann | 548dbe7 | 2010-02-22 16:41:49 +0000 | [diff] [blame] | 129 | north bridge. |
Stefan Reinauer | 9a35853 | 2010-02-12 09:32:17 +0000 | [diff] [blame] | 130 | |
Patrick Georgi | c4b2a1b | 2012-07-20 13:44:50 +0200 | [diff] [blame] | 131 | config YABEL_PCI_FAKE_WRITING_OTHER_DEVICES_CONFIG |
| 132 | prompt "Fake success on writing other device's config space" |
| 133 | bool |
| 134 | depends on YABEL_PCI_ACCESS_OTHER_DEVICES |
| 135 | help |
| 136 | By default, YABEL aborts when the Option ROM tries to write to other |
| 137 | devices' config spaces. With this option enabled, the write doesn't |
| 138 | follow through, but the Option ROM is allowed to go on. |
| 139 | This can create issues such as hanging Option ROMs (if it depends on |
| 140 | that other register changing to the written value), so test for |
| 141 | impact before using this option. |
| 142 | |
Stefan Reinauer | 9a35853 | 2010-02-12 09:32:17 +0000 | [diff] [blame] | 143 | config YABEL_VIRTMEM_LOCATION |
| 144 | prompt "Location of YABEL's virtual memory" |
| 145 | hex |
Stefan Reinauer | d650e99 | 2010-02-22 04:33:13 +0000 | [diff] [blame] | 146 | depends on PCI_OPTION_ROM_RUN_YABEL && EXPERT |
Stefan Reinauer | 9a35853 | 2010-02-12 09:32:17 +0000 | [diff] [blame] | 147 | default 0x1000000 |
| 148 | help |
| 149 | YABEL requires 1MB memory for its CPU emulation. This memory is |
| 150 | normally located at 16MB. |
| 151 | |
Uwe Hermann | 01ce601 | 2010-03-05 10:03:50 +0000 | [diff] [blame] | 152 | config YABEL_VIRTMEM_LOCATION |
| 153 | hex |
| 154 | depends on PCI_OPTION_ROM_RUN_YABEL && !EXPERT |
| 155 | default 0x1000000 |
| 156 | |
Stefan Reinauer | d650e99 | 2010-02-22 04:33:13 +0000 | [diff] [blame] | 157 | config YABEL_DIRECTHW |
Uwe Hermann | 548dbe7 | 2010-02-22 16:41:49 +0000 | [diff] [blame] | 158 | prompt "Direct hardware access" |
Stefan Reinauer | d650e99 | 2010-02-22 04:33:13 +0000 | [diff] [blame] | 159 | bool |
Stefan Reinauer | 91f1423 | 2012-12-07 16:55:12 -0800 | [diff] [blame] | 160 | depends on PCI_OPTION_ROM_RUN_YABEL && ARCH_X86 |
Myles Watson | e680495 | 2009-08-28 14:36:12 +0000 | [diff] [blame] | 161 | help |
Stefan Reinauer | d650e99 | 2010-02-22 04:33:13 +0000 | [diff] [blame] | 162 | YABEL consists of two parts: It uses x86emu for the CPU emulation and |
Uwe Hermann | 548dbe7 | 2010-02-22 16:41:49 +0000 | [diff] [blame] | 163 | additionally provides a PC system emulation that filters bad device |
| 164 | and memory access (such as PCI config space access to other devices |
| 165 | than the initialized one). |
| 166 | |
Stefan Reinauer | d650e99 | 2010-02-22 04:33:13 +0000 | [diff] [blame] | 167 | When choosing this option, x86emu will pass through all hardware |
Uwe Hermann | 548dbe7 | 2010-02-22 16:41:49 +0000 | [diff] [blame] | 168 | accesses to memory and I/O devices to the underlying memory and I/O |
Stefan Reinauer | afaa257 | 2011-10-06 16:47:51 -0700 | [diff] [blame] | 169 | addresses. While this option prevents Option ROMs from doing dirty |
Stefan Reinauer | d650e99 | 2010-02-22 04:33:13 +0000 | [diff] [blame] | 170 | tricks with the CPU (such as installing SMM modules or hypervisors), |
| 171 | they can still access all devices in the system. |
| 172 | Enable this option for a good compromise between security and speed. |
| 173 | |
Stefan Reinauer | abc0c85 | 2010-11-22 08:09:50 +0000 | [diff] [blame] | 174 | config MULTIPLE_VGA_ADAPTERS |
Myles Watson | 28412f5 | 2009-09-17 16:54:46 +0000 | [diff] [blame] | 175 | bool |
| 176 | default n |
| 177 | |
Ronald G. Minnich | 78a1667 | 2012-11-29 16:28:21 -0800 | [diff] [blame] | 178 | config PCI |
| 179 | bool |
| 180 | default n |
| 181 | |
Ronald G. Minnich | 876d7e9 | 2009-08-28 14:23:38 +0000 | [diff] [blame] | 182 | config PCI_64BIT_PREF_MEM |
| 183 | bool |
Ronald G. Minnich | 78a1667 | 2012-11-29 16:28:21 -0800 | [diff] [blame] | 184 | depends on PCI |
Ronald G. Minnich | 876d7e9 | 2009-08-28 14:23:38 +0000 | [diff] [blame] | 185 | default n |
| 186 | |
| 187 | config HYPERTRANSPORT_PLUGIN_SUPPORT |
| 188 | bool |
Ronald G. Minnich | 78a1667 | 2012-11-29 16:28:21 -0800 | [diff] [blame] | 189 | depends on PCI |
Myles Watson | 74fb8f2 | 2009-09-24 15:09:11 +0000 | [diff] [blame] | 190 | default n |
Ronald G. Minnich | 876d7e9 | 2009-08-28 14:23:38 +0000 | [diff] [blame] | 191 | |
| 192 | config PCIX_PLUGIN_SUPPORT |
| 193 | bool |
Ronald G. Minnich | 78a1667 | 2012-11-29 16:28:21 -0800 | [diff] [blame] | 194 | depends on PCI |
Myles Watson | ed03556 | 2009-09-22 21:29:32 +0000 | [diff] [blame] | 195 | default y |
Ronald G. Minnich | 876d7e9 | 2009-08-28 14:23:38 +0000 | [diff] [blame] | 196 | |
| 197 | config PCIEXP_PLUGIN_SUPPORT |
| 198 | bool |
Ronald G. Minnich | 78a1667 | 2012-11-29 16:28:21 -0800 | [diff] [blame] | 199 | depends on PCI |
Myles Watson | ed03556 | 2009-09-22 21:29:32 +0000 | [diff] [blame] | 200 | default y |
Ronald G. Minnich | 876d7e9 | 2009-08-28 14:23:38 +0000 | [diff] [blame] | 201 | |
| 202 | config AGP_PLUGIN_SUPPORT |
| 203 | bool |
Ronald G. Minnich | 78a1667 | 2012-11-29 16:28:21 -0800 | [diff] [blame] | 204 | depends on PCI |
Myles Watson | ed03556 | 2009-09-22 21:29:32 +0000 | [diff] [blame] | 205 | default y |
Ronald G. Minnich | 876d7e9 | 2009-08-28 14:23:38 +0000 | [diff] [blame] | 206 | |
| 207 | config CARDBUS_PLUGIN_SUPPORT |
| 208 | bool |
Ronald G. Minnich | 78a1667 | 2012-11-29 16:28:21 -0800 | [diff] [blame] | 209 | depends on PCI |
Myles Watson | ed03556 | 2009-09-22 21:29:32 +0000 | [diff] [blame] | 210 | default y |
Duncan Laurie | 90dcdd4 | 2011-10-25 14:15:11 -0700 | [diff] [blame] | 211 | |
Andrew Wu | b7bb70d | 2013-08-12 20:07:47 +0800 | [diff] [blame] | 212 | config AZALIA_PLUGIN_SUPPORT |
| 213 | bool |
| 214 | depends on PCI |
| 215 | default n |
| 216 | |
Duncan Laurie | 90dcdd4 | 2011-10-25 14:15:11 -0700 | [diff] [blame] | 217 | config PCIEXP_COMMON_CLOCK |
| 218 | prompt "Enable PCIe Common Clock" |
| 219 | bool |
Stefan Reinauer | c4077d4 | 2013-01-04 10:07:28 -0800 | [diff] [blame] | 220 | depends on PCIEXP_PLUGIN_SUPPORT |
Duncan Laurie | 90dcdd4 | 2011-10-25 14:15:11 -0700 | [diff] [blame] | 221 | default n |
| 222 | help |
| 223 | Detect and enable Common Clock on PCIe links. |
| 224 | |
| 225 | config PCIEXP_ASPM |
| 226 | prompt "Enable PCIe ASPM" |
| 227 | bool |
Stefan Reinauer | c4077d4 | 2013-01-04 10:07:28 -0800 | [diff] [blame] | 228 | depends on PCIEXP_PLUGIN_SUPPORT |
Duncan Laurie | 90dcdd4 | 2011-10-25 14:15:11 -0700 | [diff] [blame] | 229 | default n |
| 230 | help |
| 231 | Detect and enable ASPM on PCIe links. |
Stefan Reinauer | 95a6396 | 2012-11-13 17:00:01 -0800 | [diff] [blame] | 232 | |
| 233 | config PCI_BUS_SEGN_BITS |
| 234 | int |
| 235 | default 0 |
| 236 | endmenu |
| 237 | |
| 238 | menu "VGA BIOS" |
| 239 | |
| 240 | config VGA_BIOS |
| 241 | bool "Add a VGA BIOS image" |
| 242 | help |
| 243 | Select this option if you have a VGA BIOS image that you would |
| 244 | like to add to your ROM. |
| 245 | |
| 246 | You will be able to specify the location and file name of the |
| 247 | image later. |
| 248 | |
| 249 | config VGA_BIOS_FILE |
| 250 | string "VGA BIOS path and filename" |
| 251 | depends on VGA_BIOS |
| 252 | default "vgabios.bin" |
| 253 | help |
| 254 | The path and filename of the file to use as VGA BIOS. |
| 255 | |
| 256 | config VGA_BIOS_ID |
| 257 | string "VGA device PCI IDs" |
| 258 | depends on VGA_BIOS |
| 259 | default "1106,3230" |
| 260 | help |
| 261 | The comma-separated PCI vendor and device ID that would associate |
| 262 | your VGA BIOS to your video card. |
| 263 | |
| 264 | Example: 1106,3230 |
| 265 | |
| 266 | In the above example 1106 is the PCI vendor ID (in hex, but without |
| 267 | the "0x" prefix) and 3230 specifies the PCI device ID of the |
| 268 | video card (also in hex, without "0x" prefix). |
| 269 | |
| 270 | config INTEL_MBI |
| 271 | bool "Add an MBI image" |
| 272 | depends on NORTHBRIDGE_INTEL_I82830 |
| 273 | help |
| 274 | Select this option if you have an Intel MBI image that you would |
| 275 | like to add to your ROM. |
| 276 | |
| 277 | You will be able to specify the location and file name of the |
| 278 | image later. |
| 279 | |
| 280 | config MBI_FILE |
| 281 | string "Intel MBI path and filename" |
| 282 | depends on INTEL_MBI |
| 283 | default "mbi.bin" |
| 284 | help |
| 285 | The path and filename of the file to use as VGA BIOS. |
| 286 | |
| 287 | endmenu |
| 288 | |
| 289 | menu "Display" |
Ronald G. Minnich | 69efaa0 | 2013-02-26 10:07:40 -0800 | [diff] [blame] | 290 | depends on PCI_OPTION_ROM_RUN_YABEL || PCI_OPTION_ROM_RUN_REALMODE || MAINBOARD_DO_NATIVE_VGA_INIT |
Stefan Reinauer | 95a6396 | 2012-11-13 17:00:01 -0800 | [diff] [blame] | 291 | |
| 292 | config FRAMEBUFFER_SET_VESA_MODE |
Ronald G. Minnich | 69efaa0 | 2013-02-26 10:07:40 -0800 | [diff] [blame] | 293 | prompt "Set framebuffer graphics resolution" |
Stefan Reinauer | 95a6396 | 2012-11-13 17:00:01 -0800 | [diff] [blame] | 294 | bool |
| 295 | depends on PCI_OPTION_ROM_RUN_YABEL || PCI_OPTION_ROM_RUN_REALMODE |
| 296 | help |
Ronald G. Minnich | 69efaa0 | 2013-02-26 10:07:40 -0800 | [diff] [blame] | 297 | Set VESA/native framebuffer mode (needed for bootsplash and graphical framebuffer console) |
Stefan Reinauer | 95a6396 | 2012-11-13 17:00:01 -0800 | [diff] [blame] | 298 | |
| 299 | choice |
Ronald G. Minnich | 69efaa0 | 2013-02-26 10:07:40 -0800 | [diff] [blame] | 300 | prompt "framebuffer graphics resolution" |
Stefan Reinauer | 95a6396 | 2012-11-13 17:00:01 -0800 | [diff] [blame] | 301 | default FRAMEBUFFER_VESA_MODE_117 |
Ronald G. Minnich | 69efaa0 | 2013-02-26 10:07:40 -0800 | [diff] [blame] | 302 | depends on FRAMEBUFFER_SET_VESA_MODE || MAINBOARD_DO_NATIVE_VGA_INIT |
Stefan Reinauer | 95a6396 | 2012-11-13 17:00:01 -0800 | [diff] [blame] | 303 | help |
| 304 | This option sets the resolution used for the coreboot framebuffer (and |
| 305 | bootsplash screen). |
| 306 | |
| 307 | config FRAMEBUFFER_VESA_MODE_100 |
| 308 | bool "640x400 256-color" |
| 309 | |
| 310 | config FRAMEBUFFER_VESA_MODE_101 |
| 311 | bool "640x480 256-color" |
| 312 | |
| 313 | config FRAMEBUFFER_VESA_MODE_102 |
| 314 | bool "800x600 16-color" |
| 315 | |
| 316 | config FRAMEBUFFER_VESA_MODE_103 |
| 317 | bool "800x600 256-color" |
| 318 | |
| 319 | config FRAMEBUFFER_VESA_MODE_104 |
| 320 | bool "1024x768 16-color" |
| 321 | |
| 322 | config FRAMEBUFFER_VESA_MODE_105 |
| 323 | bool "1024x7686 256-color" |
| 324 | |
| 325 | config FRAMEBUFFER_VESA_MODE_106 |
| 326 | bool "1280x1024 16-color" |
| 327 | |
| 328 | config FRAMEBUFFER_VESA_MODE_107 |
| 329 | bool "1280x1024 256-color" |
| 330 | |
| 331 | config FRAMEBUFFER_VESA_MODE_108 |
| 332 | bool "80x60 text" |
| 333 | |
| 334 | config FRAMEBUFFER_VESA_MODE_109 |
| 335 | bool "132x25 text" |
| 336 | |
| 337 | config FRAMEBUFFER_VESA_MODE_10A |
| 338 | bool "132x43 text" |
| 339 | |
| 340 | config FRAMEBUFFER_VESA_MODE_10B |
| 341 | bool "132x50 text" |
| 342 | |
| 343 | config FRAMEBUFFER_VESA_MODE_10C |
| 344 | bool "132x60 text" |
| 345 | |
| 346 | config FRAMEBUFFER_VESA_MODE_10D |
| 347 | bool "320x200 32k-color (1:5:5:5)" |
| 348 | |
| 349 | config FRAMEBUFFER_VESA_MODE_10E |
| 350 | bool "320x200 64k-color (5:6:5)" |
| 351 | |
| 352 | config FRAMEBUFFER_VESA_MODE_10F |
| 353 | bool "320x200 16.8M-color (8:8:8)" |
| 354 | |
| 355 | config FRAMEBUFFER_VESA_MODE_110 |
| 356 | bool "640x480 32k-color (1:5:5:5)" |
| 357 | |
| 358 | config FRAMEBUFFER_VESA_MODE_111 |
| 359 | bool "640x480 64k-color (5:6:5)" |
| 360 | |
| 361 | config FRAMEBUFFER_VESA_MODE_112 |
| 362 | bool "640x480 16.8M-color (8:8:8)" |
| 363 | |
| 364 | config FRAMEBUFFER_VESA_MODE_113 |
| 365 | bool "800x600 32k-color (1:5:5:5)" |
| 366 | |
| 367 | config FRAMEBUFFER_VESA_MODE_114 |
| 368 | bool "800x600 64k-color (5:6:5)" |
| 369 | |
| 370 | config FRAMEBUFFER_VESA_MODE_115 |
| 371 | bool "800x600 16.8M-color (8:8:8)" |
| 372 | |
| 373 | config FRAMEBUFFER_VESA_MODE_116 |
| 374 | bool "1024x768 32k-color (1:5:5:5)" |
| 375 | |
| 376 | config FRAMEBUFFER_VESA_MODE_117 |
| 377 | bool "1024x768 64k-color (5:6:5)" |
| 378 | |
| 379 | config FRAMEBUFFER_VESA_MODE_118 |
| 380 | bool "1024x768 16.8M-color (8:8:8)" |
| 381 | |
| 382 | config FRAMEBUFFER_VESA_MODE_119 |
| 383 | bool "1280x1024 32k-color (1:5:5:5)" |
| 384 | |
| 385 | config FRAMEBUFFER_VESA_MODE_11A |
| 386 | bool "1280x1024 64k-color (5:6:5)" |
| 387 | |
| 388 | config FRAMEBUFFER_VESA_MODE_11B |
| 389 | bool "1280x1024 16.8M-color (8:8:8)" |
| 390 | |
| 391 | config FRAMEBUFFER_VESA_MODE_USER |
| 392 | bool "Manually select VESA mode" |
Ronald G. Minnich | 69efaa0 | 2013-02-26 10:07:40 -0800 | [diff] [blame] | 393 | depends on !MAINBOARD_DO_NATIVE_VGA_INIT |
Stefan Reinauer | 95a6396 | 2012-11-13 17:00:01 -0800 | [diff] [blame] | 394 | |
| 395 | endchoice |
| 396 | |
| 397 | # Map the config names to an integer (KB). |
| 398 | config FRAMEBUFFER_VESA_MODE |
| 399 | prompt "VESA mode" if FRAMEBUFFER_VESA_MODE_USER |
| 400 | hex |
| 401 | default 0x100 if FRAMEBUFFER_VESA_MODE_100 |
| 402 | default 0x101 if FRAMEBUFFER_VESA_MODE_101 |
| 403 | default 0x102 if FRAMEBUFFER_VESA_MODE_102 |
| 404 | default 0x103 if FRAMEBUFFER_VESA_MODE_103 |
| 405 | default 0x104 if FRAMEBUFFER_VESA_MODE_104 |
| 406 | default 0x105 if FRAMEBUFFER_VESA_MODE_105 |
| 407 | default 0x106 if FRAMEBUFFER_VESA_MODE_106 |
| 408 | default 0x107 if FRAMEBUFFER_VESA_MODE_107 |
| 409 | default 0x108 if FRAMEBUFFER_VESA_MODE_108 |
| 410 | default 0x109 if FRAMEBUFFER_VESA_MODE_109 |
| 411 | default 0x10A if FRAMEBUFFER_VESA_MODE_10A |
| 412 | default 0x10B if FRAMEBUFFER_VESA_MODE_10B |
| 413 | default 0x10C if FRAMEBUFFER_VESA_MODE_10C |
| 414 | default 0x10D if FRAMEBUFFER_VESA_MODE_10D |
| 415 | default 0x10E if FRAMEBUFFER_VESA_MODE_10E |
| 416 | default 0x10F if FRAMEBUFFER_VESA_MODE_10F |
| 417 | default 0x110 if FRAMEBUFFER_VESA_MODE_110 |
| 418 | default 0x111 if FRAMEBUFFER_VESA_MODE_111 |
| 419 | default 0x112 if FRAMEBUFFER_VESA_MODE_112 |
| 420 | default 0x113 if FRAMEBUFFER_VESA_MODE_113 |
| 421 | default 0x114 if FRAMEBUFFER_VESA_MODE_114 |
| 422 | default 0x115 if FRAMEBUFFER_VESA_MODE_115 |
| 423 | default 0x116 if FRAMEBUFFER_VESA_MODE_116 |
| 424 | default 0x117 if FRAMEBUFFER_VESA_MODE_117 |
| 425 | default 0x118 if FRAMEBUFFER_VESA_MODE_118 |
| 426 | default 0x119 if FRAMEBUFFER_VESA_MODE_119 |
| 427 | default 0x11A if FRAMEBUFFER_VESA_MODE_11A |
| 428 | default 0x11B if FRAMEBUFFER_VESA_MODE_11B |
| 429 | default 0x117 if FRAMEBUFFER_VESA_MODE_USER |
| 430 | |
| 431 | config FRAMEBUFFER_KEEP_VESA_MODE |
| 432 | prompt "Keep VESA framebuffer" |
| 433 | bool |
Ronald G. Minnich | 69efaa0 | 2013-02-26 10:07:40 -0800 | [diff] [blame] | 434 | depends on PCI_OPTION_ROM_RUN_YABEL || PCI_OPTION_ROM_RUN_REALMODE || !MAINBOARD_DO_NATIVE_VGA_INIT |
Stefan Reinauer | 95a6396 | 2012-11-13 17:00:01 -0800 | [diff] [blame] | 435 | help |
| 436 | This option keeps the framebuffer mode set after coreboot finishes |
| 437 | execution. If this option is enabled, coreboot will pass a |
| 438 | framebuffer entry in its coreboot table and the payload will need a |
| 439 | framebuffer driver. If this option is disabled, coreboot will switch |
| 440 | back to text mode before handing control to a payload. |
| 441 | |
| 442 | config BOOTSPLASH |
| 443 | prompt "Show graphical bootsplash" |
| 444 | bool |
| 445 | depends on FRAMEBUFFER_SET_VESA_MODE |
| 446 | help |
| 447 | This option shows a graphical bootsplash screen. The grapics are |
| 448 | loaded from the CBFS file bootsplash.jpg. |
| 449 | |
| 450 | config BOOTSPLASH_FILE |
| 451 | string "Bootsplash path and filename" |
| 452 | depends on BOOTSPLASH |
| 453 | default "bootsplash.jpg" |
| 454 | help |
| 455 | The path and filename of the file to use as graphical bootsplash |
| 456 | screen. The file format has to be jpg. |
| 457 | endmenu |
Siyuan Wang | 64a7ed6 | 2013-04-03 17:02:58 +0800 | [diff] [blame] | 458 | |
| 459 | menu "PXE ROM" |
| 460 | config PXE_ROM |
| 461 | bool "Add a PXE ROM image" |
| 462 | help |
| 463 | Select this option if you have a PXE ROM image that you would |
| 464 | like to add to your ROM. |
| 465 | |
| 466 | config PXE_ROM_FILE |
| 467 | string "PXE ROM filename" |
| 468 | depends on PXE_ROM |
| 469 | default "pxe.rom" |
| 470 | help |
| 471 | The path and filename of the file to use as PXE ROM. |
| 472 | |
| 473 | config PXE_ROM_ID |
| 474 | string "network card PCI IDs" |
| 475 | depends on PXE_ROM |
| 476 | default "10ec,8168" |
| 477 | help |
| 478 | The comma-separated PCI vendor and device ID that would associate |
| 479 | your PXE ROM to your network card. |
| 480 | |
| 481 | Example: 10ec,8168 |
| 482 | |
| 483 | In the above example 10ec is the PCI vendor ID (in hex, but without |
| 484 | the "0x" prefix) and 8168 specifies the PCI device ID of the |
| 485 | network card (also in hex, without "0x" prefix). |
| 486 | |
| 487 | Under GNU/Linux you can run `lspci -nn` to list the IDs of your PCI devices. |
| 488 | endmenu |
Duncan Laurie | 7e1c83e | 2013-08-09 07:55:10 -0700 | [diff] [blame] | 489 | |
| 490 | config SUBSYSTEM_VENDOR_ID |
| 491 | hex "Override PCI Subsystem Vendor ID" |
| 492 | depends on PCI |
| 493 | default "0x0000" |
| 494 | help |
| 495 | This config option will override the devicetree settings for |
| 496 | PCI Subsystem Vendor ID. |
| 497 | |
| 498 | config SUBSYSTEM_DEVICE_ID |
| 499 | hex "Override PCI Subsystem Device ID" |
| 500 | depends on PCI |
| 501 | default "0x0000" |
| 502 | help |
| 503 | This config option will override the devicetree settings for |
| 504 | PCI Subsystem Device ID. |