1 ## SPDX-License-Identifier: GPL-2.0-only
5 config HAVE_VGA_TEXT_FRAMEBUFFER
7 depends on !(NO_GFX_INIT && NO_EARLY_GFX_INIT)
9 Selected by graphics drivers that support legacy VGA text mode.
11 config HAVE_VBE_LINEAR_FRAMEBUFFER
13 depends on !NO_GFX_INIT
15 Selected by graphics drivers that can set up a VBE linear-framebuffer
18 config HAVE_LINEAR_FRAMEBUFFER
20 depends on !NO_GFX_INIT
22 Selected by graphics drivers that can set up a generic linear
28 Selected by drivers that support to run a blob that implements
29 the Graphics Output Protocol (GOP).
31 config MAINBOARD_NO_FSP_GOP
34 Selected by mainboards that do not have any graphics ports connected to the SoC.
36 config MAINBOARD_HAS_NATIVE_VGA_INIT
39 Selected by mainboards / drivers that provide native graphics
42 config MAINBOARD_FORCE_NATIVE_VGA_INIT
44 depends on MAINBOARD_HAS_NATIVE_VGA_INIT || MAINBOARD_HAS_LIBGFXINIT
46 Selected by mainboards / chipsets whose graphics driver can't or
47 shouldn't be disabled.
49 config VGA_ROM_RUN_DEFAULT
52 Selected by mainboards whose graphics initialization depends on VGA OpROM.
53 coreboot needs to load/execute legacy VGA OpROM in order to initialize GFX.
55 config MAINBOARD_HAS_LIBGFXINIT
58 Selected by mainboards that implement support for `libgfxinit`.
59 Usually this requires a list of ports to be probed for displays.
61 config MAINBOARD_HAS_EARLY_LIBGFXINIT
64 Selected by mainboards that implement early (cache-as-ram
65 stage) support of `libgfxinit`. Usually this requires a list
66 of ports to be probed for displays.
69 prompt "Graphics initialization"
70 default NO_GFX_INIT if VGA_ROM_RUN_DEFAULT && PAYLOAD_SEABIOS
71 default VGA_ROM_RUN if VGA_ROM_RUN_DEFAULT
72 default MAINBOARD_DO_NATIVE_VGA_INIT
73 default MAINBOARD_USE_LIBGFXINIT
74 default RUN_FSP_GOP if INTEL_GMA_HAVE_VBT
76 config MAINBOARD_DO_NATIVE_VGA_INIT
77 bool "Use native graphics init"
78 depends on MAINBOARD_HAS_NATIVE_VGA_INIT
80 Some mainboards, such as the Google Link, allow initializing the
81 display without the need of a binary only VGA OPROM. Enabling this
82 option may be faster, but also lacks flexibility in setting modes.
84 config MAINBOARD_USE_LIBGFXINIT
86 depends on MAINBOARD_HAS_LIBGFXINIT
87 select HAVE_VGA_TEXT_FRAMEBUFFER
88 select HAVE_LINEAR_FRAMEBUFFER
89 select VGA if VGA_TEXT_FRAMEBUFFER
91 Use the SPARK library `libgfxinit` for the native graphics
92 initialization. This requires an Ada toolchain.
94 # TODO: Explain differences (if any) for onboard cards.
96 bool "Run VGA Option ROMs"
97 depends on PCI && (ARCH_X86 || ARCH_PPC64) && !MAINBOARD_FORCE_NATIVE_VGA_INIT
98 select HAVE_VGA_TEXT_FRAMEBUFFER
100 Execute VGA Option ROMs in coreboot if found. This can be used
101 to enable PCI/AGP/PCI-E video cards when not using a SeaBIOS
104 When using a SeaBIOS payload it runs all option ROMs with much
105 more complete BIOS interrupt services available than coreboot,
106 which some option ROMs require in order to function correctly.
109 bool "Run a GOP driver"
110 depends on HAVE_FSP_GOP && !MAINBOARD_NO_FSP_GOP
111 select HAVE_LINEAR_FRAMEBUFFER
113 Some platforms (e.g. Intel Braswell and Skylake/Kaby Lake) support
114 to run a GOP blob. This option enables graphics initialization with
119 depends on !MAINBOARD_FORCE_NATIVE_VGA_INIT
121 Select this to not perform any graphics initialization in
122 coreboot. This is useful if the payload (e.g. SeaBIOS) can
123 initialize graphics or if pre-boot graphics are not required.
128 prompt "Early (romstage) graphics initialization"
129 default MAINBOARD_USE_EARLY_LIBGFXINIT if MAINBOARD_HAS_EARLY_LIBGFXINIT
130 default NO_EARLY_GFX_INIT
132 config NO_EARLY_GFX_INIT
135 Select this to not perform any graphics initialization at
138 config MAINBOARD_USE_EARLY_LIBGFXINIT
139 bool "Use libgfxinit"
140 depends on MAINBOARD_HAS_EARLY_LIBGFXINIT
143 Use the SPARK library `libgfxinit` for the romstage native
144 graphics initialization. This requires an Ada
145 toolchain. Graphics at romstage is limited to VGA text mode.
149 config PRE_GRAPHICS_DELAY_MS
150 int "Graphics initialization delay in ms"
152 depends on VGA_ROM_RUN
154 On some systems, coreboot boots so fast that connected monitors
155 (mostly TVs) won't be able to wake up fast enough to talk to the
156 VBIOS. On those systems we need to wait for a bit before executing
159 config ONBOARD_VGA_IS_PRIMARY
160 bool "Use onboard VGA as primary video device"
164 This option lets you select which VGA device will be used
165 to decode legacy VGA cycles. Not all chipsets implement this
166 however. If not selected, the last adapter found will be used,
167 else the onboard adapter is used.
169 config S3_VGA_ROM_RUN
170 bool "Re-run VGA Option ROMs on S3 resume"
172 depends on VGA_ROM_RUN && HAVE_ACPI_RESUME
174 Execute VGA Option ROMs in coreboot when resuming from S3 suspend.
176 When using a SeaBIOS payload it runs all option ROMs with much
177 more complete BIOS interrupt services available than coreboot,
178 which some option ROMs require in order to function correctly.
180 If unsure, say N when using SeaBIOS as payload, Y otherwise.
182 config ALWAYS_LOAD_OPROM
184 depends on VGA_ROM_RUN
186 Always load option ROMs if any are found. The decision to run
187 the ROM is still determined at runtime, but the distinction
188 between loading and not running comes into play for CHROMEOS.
190 An example where this is required is that VBT (Video BIOS Tables)
191 are needed for the kernel's display driver to know how a piece of
192 hardware is configured to be used.
194 config ALWAYS_RUN_OPROM
196 depends on VGA_ROM_RUN && ALWAYS_LOAD_OPROM
198 Always unconditionally run the option regardless of other
201 config ON_DEVICE_ROM_LOAD
202 bool "Load Option ROMs on PCI devices"
203 default n if PAYLOAD_SEABIOS
204 default y if !PAYLOAD_SEABIOS
205 depends on VGA_ROM_RUN
207 Load Option ROMs stored on PCI/PCIe/AGP VGA devices in coreboot.
209 If disabled, only Option ROMs stored in CBFS will be executed by
210 coreboot. If you are concerned about security, you might want to
211 disable this option, but it might leave your system in a state of
212 degraded functionality.
214 When using a SeaBIOS payload it runs all option ROMs with much
215 more complete BIOS interrupt services available than coreboot,
216 which some option ROMs require in order to function correctly.
218 If unsure, say N when using SeaBIOS as payload, Y otherwise.
221 prompt "Option ROM execution type"
222 default PCI_OPTION_ROM_RUN_YABEL if !ARCH_X86
223 default PCI_OPTION_ROM_RUN_REALMODE if ARCH_X86
224 depends on VGA_ROM_RUN
226 config PCI_OPTION_ROM_RUN_REALMODE
229 depends on ARCH_X86 && !ARCH_RAMSTAGE_X86_64
231 If you select this option, PCI Option ROMs will be executed
232 natively on the CPU in real mode. No CPU emulation is involved,
233 so this is the fastest, but also the least secure option.
234 (only works on x86/x64 systems)
236 config PCI_OPTION_ROM_RUN_YABEL
240 If you select this option, the x86emu CPU emulator will be used to
241 execute PCI Option ROMs.
243 This option prevents Option ROMs from doing dirty tricks with the
244 system (such as installing SMM modules or hypervisors), but it is
245 also significantly slower than the native Option ROM initialization
248 This is the default choice for non-x86 systems.
252 config YABEL_PCI_ACCESS_OTHER_DEVICES
253 prompt "Allow Option ROMs to access other devices"
255 depends on PCI_OPTION_ROM_RUN_YABEL
257 Per default, YABEL only allows Option ROMs to access the PCI device
258 that they are associated with. However, this causes trouble for some
259 onboard graphics chips whose Option ROM needs to reconfigure the
262 config YABEL_PCI_FAKE_WRITING_OTHER_DEVICES_CONFIG
263 prompt "Fake success on writing other device's config space"
265 depends on YABEL_PCI_ACCESS_OTHER_DEVICES
267 By default, YABEL aborts when the Option ROM tries to write to other
268 devices' config spaces. With this option enabled, the write doesn't
269 follow through, but the Option ROM is allowed to go on.
270 This can create issues such as hanging Option ROMs (if it depends on
271 that other register changing to the written value), so test for
272 impact before using this option.
274 config YABEL_VIRTMEM_LOCATION
275 prompt "Location of YABEL's virtual memory"
277 depends on PCI_OPTION_ROM_RUN_YABEL
280 YABEL requires 1MB memory for its CPU emulation. This memory is
281 normally located at 16MB.
283 config YABEL_DIRECTHW
284 prompt "Direct hardware access"
286 depends on PCI_OPTION_ROM_RUN_YABEL && ARCH_X86
288 YABEL consists of two parts: It uses x86emu for the CPU emulation and
289 additionally provides a PC system emulation that filters bad device
290 and memory access (such as PCI config space access to other devices
291 than the initialized one).
293 When choosing this option, x86emu will pass through all hardware
294 accesses to memory and I/O devices to the underlying memory and I/O
295 addresses. While this option prevents Option ROMs from doing dirty
296 tricks with the CPU (such as installing SMM modules or hypervisors),
297 they can still access all devices in the system.
298 Enable this option for a good compromise between security and speed.
300 config MULTIPLE_VGA_ADAPTERS
305 depends on HAVE_VGA_TEXT_FRAMEBUFFER || HAVE_LINEAR_FRAMEBUFFER
307 config FRAMEBUFFER_SET_VESA_MODE
308 prompt "Set framebuffer graphics resolution"
310 default y if CHROMEOS
311 depends on PCI_OPTION_ROM_RUN_YABEL || PCI_OPTION_ROM_RUN_REALMODE
312 select HAVE_VBE_LINEAR_FRAMEBUFFER
314 Set VESA/native framebuffer mode (needed for bootsplash and graphical framebuffer console)
316 if FRAMEBUFFER_SET_VESA_MODE
319 prompt "framebuffer graphics resolution"
320 default FRAMEBUFFER_VESA_MODE_118
322 This option sets the resolution used for the coreboot framebuffer (and
325 config FRAMEBUFFER_VESA_MODE_100
326 bool "640x400 256-color"
328 config FRAMEBUFFER_VESA_MODE_101
329 bool "640x480 256-color"
331 config FRAMEBUFFER_VESA_MODE_102
332 bool "800x600 16-color"
334 config FRAMEBUFFER_VESA_MODE_103
335 bool "800x600 256-color"
337 config FRAMEBUFFER_VESA_MODE_104
338 bool "1024x768 16-color"
340 config FRAMEBUFFER_VESA_MODE_105
341 bool "1024x768 256-color"
343 config FRAMEBUFFER_VESA_MODE_106
344 bool "1280x1024 16-color"
346 config FRAMEBUFFER_VESA_MODE_107
347 bool "1280x1024 256-color"
349 config FRAMEBUFFER_VESA_MODE_108
352 config FRAMEBUFFER_VESA_MODE_109
355 config FRAMEBUFFER_VESA_MODE_10A
358 config FRAMEBUFFER_VESA_MODE_10B
361 config FRAMEBUFFER_VESA_MODE_10C
364 config FRAMEBUFFER_VESA_MODE_10D
365 bool "320x200 32k-color (1:5:5:5)"
367 config FRAMEBUFFER_VESA_MODE_10E
368 bool "320x200 64k-color (5:6:5)"
370 config FRAMEBUFFER_VESA_MODE_10F
371 bool "320x200 16.8M-color (8:8:8)"
373 config FRAMEBUFFER_VESA_MODE_110
374 bool "640x480 32k-color (1:5:5:5)"
376 config FRAMEBUFFER_VESA_MODE_111
377 bool "640x480 64k-color (5:6:5)"
379 config FRAMEBUFFER_VESA_MODE_112
380 bool "640x480 16.8M-color (8:8:8)"
382 config FRAMEBUFFER_VESA_MODE_113
383 bool "800x600 32k-color (1:5:5:5)"
385 config FRAMEBUFFER_VESA_MODE_114
386 bool "800x600 64k-color (5:6:5)"
388 config FRAMEBUFFER_VESA_MODE_115
389 bool "800x600 16.8M-color (8:8:8)"
391 config FRAMEBUFFER_VESA_MODE_116
392 bool "1024x768 32k-color (1:5:5:5)"
394 config FRAMEBUFFER_VESA_MODE_117
395 bool "1024x768 64k-color (5:6:5)"
397 config FRAMEBUFFER_VESA_MODE_118
398 bool "1024x768 16.8M-color (8:8:8)"
400 config FRAMEBUFFER_VESA_MODE_119
401 bool "1280x1024 32k-color (1:5:5:5)"
403 config FRAMEBUFFER_VESA_MODE_11A
404 bool "1280x1024 64k-color (5:6:5)"
406 config FRAMEBUFFER_VESA_MODE_11B
407 bool "1280x1024 16.8M-color (8:8:8)"
409 config FRAMEBUFFER_VESA_MODE_USER
410 bool "Manually select VESA mode"
414 # Map the config names to an integer (KB).
415 config FRAMEBUFFER_VESA_MODE
416 prompt "VESA mode" if FRAMEBUFFER_VESA_MODE_USER
418 default 0x100 if FRAMEBUFFER_VESA_MODE_100
419 default 0x101 if FRAMEBUFFER_VESA_MODE_101
420 default 0x102 if FRAMEBUFFER_VESA_MODE_102
421 default 0x103 if FRAMEBUFFER_VESA_MODE_103
422 default 0x104 if FRAMEBUFFER_VESA_MODE_104
423 default 0x105 if FRAMEBUFFER_VESA_MODE_105
424 default 0x106 if FRAMEBUFFER_VESA_MODE_106
425 default 0x107 if FRAMEBUFFER_VESA_MODE_107
426 default 0x108 if FRAMEBUFFER_VESA_MODE_108
427 default 0x109 if FRAMEBUFFER_VESA_MODE_109
428 default 0x10A if FRAMEBUFFER_VESA_MODE_10A
429 default 0x10B if FRAMEBUFFER_VESA_MODE_10B
430 default 0x10C if FRAMEBUFFER_VESA_MODE_10C
431 default 0x10D if FRAMEBUFFER_VESA_MODE_10D
432 default 0x10E if FRAMEBUFFER_VESA_MODE_10E
433 default 0x10F if FRAMEBUFFER_VESA_MODE_10F
434 default 0x110 if FRAMEBUFFER_VESA_MODE_110
435 default 0x111 if FRAMEBUFFER_VESA_MODE_111
436 default 0x112 if FRAMEBUFFER_VESA_MODE_112
437 default 0x113 if FRAMEBUFFER_VESA_MODE_113
438 default 0x114 if FRAMEBUFFER_VESA_MODE_114
439 default 0x115 if FRAMEBUFFER_VESA_MODE_115
440 default 0x116 if FRAMEBUFFER_VESA_MODE_116
441 default 0x117 if FRAMEBUFFER_VESA_MODE_117
442 default 0x118 if FRAMEBUFFER_VESA_MODE_118
443 default 0x119 if FRAMEBUFFER_VESA_MODE_119
444 default 0x11A if FRAMEBUFFER_VESA_MODE_11A
445 default 0x11B if FRAMEBUFFER_VESA_MODE_11B
446 default 0x118 if FRAMEBUFFER_VESA_MODE_USER
447 endif # FRAMEBUFFER_SET_VESA_MODE
449 config WANT_LINEAR_FRAMEBUFFER
451 default y if CHROMEOS
452 default y if PAYLOAD_EDK2
453 default y if COREDOOM_SECONDARY_PAYLOAD
456 prompt "Framebuffer mode"
457 default VBE_LINEAR_FRAMEBUFFER if HAVE_VBE_LINEAR_FRAMEBUFFER && WANT_LINEAR_FRAMEBUFFER
458 default GENERIC_LINEAR_FRAMEBUFFER if HAVE_LINEAR_FRAMEBUFFER && WANT_LINEAR_FRAMEBUFFER
459 default VGA_TEXT_FRAMEBUFFER
461 config VGA_TEXT_FRAMEBUFFER
462 bool "Legacy VGA text mode"
463 depends on HAVE_VGA_TEXT_FRAMEBUFFER
465 If this option is enabled, coreboot will initialize graphics in
466 legacy VGA text mode or, if a VGA BIOS is used and a VESA mode set,
467 switch to text mode before handing control to a payload.
469 config VBE_LINEAR_FRAMEBUFFER
470 bool "VESA framebuffer"
471 depends on HAVE_VBE_LINEAR_FRAMEBUFFER
473 This option keeps the framebuffer mode set after coreboot finishes
474 execution. If this option is enabled, coreboot will pass a
475 framebuffer entry in its coreboot table and the payload will need a
478 config GENERIC_LINEAR_FRAMEBUFFER
479 bool "Linear \"high-resolution\" framebuffer"
480 depends on HAVE_LINEAR_FRAMEBUFFER
482 This option enables a high-resolution, linear framebuffer. If this
483 option is enabled, coreboot will pass a framebuffer entry in its
484 coreboot table and the payload will need a compatible driver.
488 # Workaround to have LINEAR_FRAMEBUFFER set in both cases
489 # VBE_LINEAR_FRAMEBUFFER and GENERIC_LINEAR_FRAMEBUFFER.
490 # `kconfig_lint` doesn't let us use the same name with
491 # different texts in the choice above.
492 config LINEAR_FRAMEBUFFER
494 depends on VBE_LINEAR_FRAMEBUFFER || GENERIC_LINEAR_FRAMEBUFFER
497 prompt "Show graphical bootsplash"
499 depends on LINEAR_FRAMEBUFFER
501 This option shows a graphical bootsplash screen. The graphics are
502 loaded from the CBFS file bootsplash.jpg.
504 You can either specify the location and file name of the
505 image in the 'General' section or add it manually to CBFS, using,
506 for example, cbfstool.
508 config LINEAR_FRAMEBUFFER_MAX_WIDTH
509 int "Maximum width in pixels"
510 depends on LINEAR_FRAMEBUFFER && MAINBOARD_USE_LIBGFXINIT
511 default 2560 if SYSTEM_TYPE_LAPTOP
514 Set the maximum width of the framebuffer. This may help with
515 default fonts too tiny for high-resolution displays.
517 config LINEAR_FRAMEBUFFER_MAX_HEIGHT
518 int "Maximum height in pixels"
519 depends on LINEAR_FRAMEBUFFER && MAINBOARD_USE_LIBGFXINIT
520 default 1600 if SYSTEM_TYPE_LAPTOP
523 Set the maximum height of the framebuffer. This may help with
524 default fonts too tiny for high-resolution displays.
534 config NO_ECAM_MMCONF_SUPPORT
538 Disable the use of the Enhanced Configuration
539 Access mechanism (ECAM) method for accessing PCI config
542 config ECAM_MMCONF_SUPPORT
544 default !NO_ECAM_MMCONF_SUPPORT
546 Enable the use of the Enhanced Configuration
547 Access mechanism (ECAM) method for accessing PCI config
550 config PCIX_PLUGIN_SUPPORT
554 config CARDBUS_PLUGIN_SUPPORT
558 config AZALIA_PLUGIN_SUPPORT
562 config AZALIA_LOCK_DOWN_R_WO_GCAP
564 depends on AZALIA_PLUGIN_SUPPORT
566 The GCAP register is implemented as R/WO (Read / Write Once) on some
567 HD Audio controllers, such as Intel 6-series PCHs. Select this option
568 to lock down the GCAP register after deasserting the controller reset
569 bit. Locking is done by reading GCAP and writing back the read value.
571 config PCIEXP_PLUGIN_SUPPORT
575 config ECAM_MMCONF_BASE_ADDRESS
577 depends on ECAM_MMCONF_SUPPORT
579 config ECAM_MMCONF_BUS_NUMBER
581 depends on ECAM_MMCONF_SUPPORT
583 config ECAM_MMCONF_LENGTH
585 depends on ECAM_MMCONF_SUPPORT
586 default 0x04000000 if ECAM_MMCONF_BUS_NUMBER = 64
587 default 0x08000000 if ECAM_MMCONF_BUS_NUMBER = 128
588 default 0x10000000 if ECAM_MMCONF_BUS_NUMBER = 256
591 config PCI_ALLOW_BUS_MASTER
592 bool "Allow coreboot to set optional PCI bus master bits"
595 For security reasons, bus mastering should be enabled as late as
596 possible. In coreboot, it's usually not necessary and payloads
597 should only enable it for devices they use. Since not all payloads
598 enable bus mastering properly yet, this option gives some sort of
599 "backwards compatibility" and is enabled by default to keep the
600 traditional behaviour for now. This is currently necessary, for
601 instance, for libpayload based payloads as the drivers don't enable
602 bus mastering for PCI bridges.
604 if PCI_ALLOW_BUS_MASTER
606 config PCI_SET_BUS_MASTER_PCI_BRIDGES
610 Let coreboot configure bus mastering for PCI bridges. Enabling bus
611 mastering for a PCI bridge also allows it to forward requests from
612 downstream devices. Currently, payloads ignore this and only enable
613 bus mastering for the downstream device. Hence, this option is needed
614 for compatibility until payloads are fixed.
616 config PCI_ALLOW_BUS_MASTER_ANY_DEVICE
619 select PCI_SET_BUS_MASTER_PCI_BRIDGES
621 Allow coreboot to enable PCI bus mastering for any device. The actual
622 selection of devices depends on the various PCI drivers in coreboot.
624 endif # PCI_ALLOW_BUS_MASTER
628 if PCIEXP_PLUGIN_SUPPORT
630 config PCIEXP_COMMON_CLOCK
631 prompt "Enable PCIe Common Clock"
635 Detect and enable Common Clock on PCIe links.
638 prompt "Enable PCIe ASPM"
642 Detect and enable ASPM (Active State Power Management) on PCIe links.
645 prompt "Enable PCIe Clock Power Management"
649 Detect and enable Clock Power Management on PCIe.
651 config PCIEXP_L1_SUB_STATE
652 prompt "Enable PCIe ASPM L1 SubState"
654 depends on (ECAM_MMCONF_SUPPORT || PCI_IO_CFG_EXT)
657 Detect and enable ASPM on PCIe links.
659 config PCIEXP_SUPPORT_RESIZABLE_BARS
660 prompt "Support PCIe Resizable BARs"
662 depends on (ECAM_MMCONF_SUPPORT || PCI_IO_CFG_EXT)
665 When enabled, this will check PCIe devices for Resizable BAR support,
666 and if found, will use this to discover the preferred BAR sizes of
667 the device in preference over the traditional moving bits method. The
668 amount of address space given out to devices in this manner (since
669 it can range up to 8 EB) can be limited with the
670 PCIEXP_DEFAULT_MAX_RESIZABLE_BAR_BITS Kconfig setting below.
672 if PCIEXP_SUPPORT_RESIZABLE_BARS
674 config PCIEXP_DEFAULT_MAX_RESIZABLE_BAR_BITS
675 int "Bits of address space to give to Resizable BARs"
676 range 20 63 # 1 MiB - 8 EiB
679 This is the maximum number of bits of address space to allocate for
680 PCIe devices with resizable BARs. For instance, if a device requests
681 30 bits of address space (1 GiB), but this field is set to 29, then
682 the device will only be allocated 29 bits worth of address space (512
683 MiB). Valid values range from 20 (1 MiB) to 63 (8 EiB); these come
684 from the Resizable BAR portion of the PCIe spec (7.8.6).
686 endif # PCIEXP_SUPPORT_RESIZABLE_BARS
688 config PCIEXP_LANE_ERR_STAT_CLEAR
689 prompt "Enable Clear PCIe Lane Error Status"
693 Clear the PCIe Lane Error Status at the end of link training.
695 config PCIEXP_HOTPLUG
696 prompt "Enable PCIe Hotplug Support"
700 Allocate resources for PCIe hotplug bridges
704 config PCIEXP_HOTPLUG_BUSES
705 int "PCI Express Hotplug Buses"
706 default 8 if ECAM_MMCONF_SUPPORT && ECAM_MMCONF_BUS_NUMBER <= 64
707 default 16 if ECAM_MMCONF_SUPPORT && ECAM_MMCONF_BUS_NUMBER <= 128
710 This is the number of buses allocated for hotplug PCI express
711 bridges, for use by hotplugged child devices. The default is 32
714 config PCIEXP_HOTPLUG_MEM
715 hex "PCI Express Hotplug Memory"
718 This is the amount of memory space, in bytes, to allocate to
719 hotplug PCI express bridges, for use by hotplugged child devices.
720 This size should be page-aligned. The default is 8 MiB.
722 config PCIEXP_HOTPLUG_PREFETCH_MEM
723 hex "PCI Express Hotplug Prefetch Memory"
726 This is the amount of pre-fetchable memory space, in bytes, to
727 allocate to hot-plug PCI express bridges, for use by hotplugged
728 child devices. This size should be page-aligned. The default is
731 config PCIEXP_HOTPLUG_PREFETCH_MEM_ABOVE_4G
733 default y if !PCIEXP_HOTPLUG_PREFETCH_MEM_BELOW_4G
736 This enables prefetch memory allocation above 4G boundary for the
739 config PCIEXP_HOTPLUG_PREFETCH_MEM_BELOW_4G
740 bool "PCI Express Hotplug Prefetch Memory Allocation below 4G boundary"
743 This enables prefetch memory allocation below 4G boundary for the
746 config PCIEXP_HOTPLUG_IO
747 hex "PCI Express Hotplug I/O Space"
750 This is the amount of I/O space to allocate to hot-plug PCI
751 express bridges, for use by hotplugged child devices. The default
754 endif # PCIEXP_HOTPLUG
756 endif # PCIEXP_PLUGIN_SUPPORT
758 config DEFAULT_SOFTWARE_CONNECTION_MANAGER
761 select to default to using the Software Connection Manager
764 prompt "Connection Manager"
765 default SOFTWARE_CONNECTION_MANAGER if DEFAULT_SOFTWARE_CONNECTION_MANAGER
766 default FIRMWARE_CONNECTION_MANAGER
768 Software Connection Manager doesn't work with Linux 5.13 or later,
769 resulting in TBT ports timing out. Firmware Connection Manager works
773 torvalds/linux@c6da62a
774 c6da62a219d028de10f2e22e93a34c7ee2b88d03
776 config FIRMWARE_CONNECTION_MANAGER
777 bool "Firmware Connection Manager"
779 Disable SCM so that FCM can be used
781 config SOFTWARE_CONNECTION_MANAGER
782 bool "Software Connection Manager"
784 Enable SCM so it's used instead of FCM.
788 config EARLY_PCI_BRIDGE
789 bool "Early PCI bridge"
793 While coreboot is executing code from ROM, the coreboot resource
794 allocator has not been running yet. Hence PCI devices living behind
795 a bridge are not yet visible to the system.
797 This option enables static configuration for a single pre-defined
798 PCI bridge function on bus 0.
802 config EARLY_PCI_BRIDGE_DEVICE
806 config EARLY_PCI_BRIDGE_FUNCTION
807 hex "bridge function"
810 config EARLY_PCI_MMIO_BASE
811 hex "MMIO window base"
814 endif # EARLY_PCI_BRIDGE
816 config SUBSYSTEM_VENDOR_ID
817 hex "Override PCI Subsystem Vendor ID"
821 This config option will override the devicetree settings for
822 PCI Subsystem Vendor ID.
824 Note: This option is not meant for a board's Kconfig; use the
825 devicetree setting `subsystemid` instead.
827 config SUBSYSTEM_DEVICE_ID
828 hex "Override PCI Subsystem Device ID"
832 This config option will override the devicetree settings for
833 PCI Subsystem Device ID.
835 Note: This option is not meant for a board's Kconfig; use the
836 devicetree setting `subsystemid` instead.
839 bool "Add a VGA BIOS image"
841 select VGA_ROM_RUN_DEFAULT
843 Select this option if you have a VGA BIOS image that you would
844 like to add to your ROM.
846 You will be able to specify the location and file name of the
850 string "VGA BIOS path and filename"
852 default "vgabios.bin"
854 The path and filename of the file to use as VGA BIOS.
857 string "VGA device PCI IDs"
861 The comma-separated PCI vendor and device ID with optional revision if that
862 feature is enabled that would associate your vBIOS to your video card.
864 Example: 1106,3230 or 1106,3230,a3
866 In the above example 1106 is the PCI vendor ID (in hex, but without
867 the "0x" prefix) and 3230 specifies the PCI device ID of the
868 video card (also in hex, without "0x" prefix). a3 specifies the revision.
870 This ID needs to match the PCI VID and DID in the VGA BIOS file's
871 header and also needs to match the value returned by map_oprom_vendev
872 or map_oprom_vendev_rev if the remapping feature is used.
874 Under GNU/Linux you can run `lspci -nn` to list the IDs of your PCI devices.
876 config VGA_BIOS_SECOND
877 bool "Add a 2nd video BIOS image"
878 depends on ARCH_X86 && VGA_BIOS
880 Select this option if you have a 2nd video BIOS image that you would
881 like to add to your ROM.
883 config VGA_BIOS_SECOND_FILE
884 string "2nd video BIOS path and filename"
885 depends on VGA_BIOS_SECOND
888 The path and filename of the file to use as video BIOS.
890 config VGA_BIOS_SECOND_ID
891 string "Graphics device PCI IDs"
892 depends on VGA_BIOS_SECOND
894 The comma-separated PCI vendor and device ID with optional revision if that
895 feature is enabled that would associate your vBIOS to your video card.
897 Example: 1106,3230 or 1106,3230,a3
899 In the above example 1106 is the PCI vendor ID (in hex, but without
900 the "0x" prefix) and 3230 specifies the PCI device ID of the
901 video card (also in hex, without "0x" prefix). a3 specifies the revision.
903 Under GNU/Linux you can run `lspci -nn` to list the IDs of your PCI devices.
905 config CHECK_REV_IN_OPROM_NAME
908 Select this in the platform BIOS or chipset if the option rom has a revision
909 that needs to be checked when searching CBFS.
912 bool "Add a discrete VGA BIOS image"
915 Select this option if you have a VGA BIOS image for discrete GPU
916 that you would like to add to your ROM.
918 You will be able to specify the location and file name of the
921 config VGA_BIOS_DGPU_FILE
922 string "Discrete VGA BIOS path and filename"
923 depends on VGA_BIOS_DGPU
924 default "vgabios_dgpu.bin"
926 The path and filename of the file to use as VGA BIOS for discrete GPU.
928 config VGA_BIOS_DGPU_ID
929 string "Discrete VGA device PCI IDs"
930 depends on VGA_BIOS_DGPU
933 The comma-separated PCI vendor and device ID that would associate
934 your VGA BIOS to your discrete video card.
937 1002,6663 for HD 8570M
938 1002,6665 for R5 M230
940 In the above examples 1002 is the PCI vendor ID (in hex, but without
941 the "0x" prefix) and 6663 / 6665 specifies the PCI device ID of the
942 discrete video card (also in hex, without "0x" prefix).
944 Under GNU/Linux you can run `lspci -nn` to list the IDs of your PCI devices.
946 config INTEL_GMA_HAVE_VBT
949 Select this in the mainboard Kconfig to indicate the board has
952 config INTEL_GMA_ADD_VBT
953 depends on SOC_INTEL_COMMON || CPU_INTEL_COMMON
954 bool "Add a Video BIOS Table (VBT) binary to CBFS"
955 default y if INTEL_GMA_HAVE_VBT
957 Add a VBT data file to CBFS. The VBT describes the integrated
958 GPU and connections, and is needed by the GOP driver integrated into
959 FSP and the OS driver in order to initialize the display.
961 config INTEL_GMA_VBT_FILE
962 string "VBT binary path and filename"
963 depends on INTEL_GMA_ADD_VBT
964 default "src/mainboard/\$(MAINBOARDDIR)/variants/\$(VARIANT_DIR)/data.vbt" \
965 if INTEL_GMA_HAVE_VBT && VARIANT_DIR != ""
966 default "src/mainboard/\$(MAINBOARDDIR)/data.vbt" if INTEL_GMA_HAVE_VBT
967 default "3rdparty/blobs/mainboard/\$(MAINBOARDDIR)/vbt.bin"
969 The path and filename of the VBT binary.
972 bool "Enable I2C controller emulation in software"
975 This config option will enable code to override the i2c_transfer
976 routine with a (simple) software emulation of the protocol. This may
977 be useful for debugging or on platforms where a driver for the real
978 I2C controller is not (yet) available. The platform code needs to
979 provide bindings to manually toggle I2C lines.
981 config I2C_TRANSFER_TIMEOUT_US
982 int "I2C transfer timeout in microseconds"
985 Timeout for a read/write transfers on the I2C bus, that is, the
986 maximum time a device could stretch clock bits before the transfer
987 is aborted and an error returned.
989 config RESOURCE_ALLOCATION_TOP_DOWN
990 bool "Allocate resources from top down"
993 Should be the default, but many platforms don't report resources
994 correctly. Hence, the allocator might cause conflicts.
999 Provides xHCI utility functions.
1001 config NO_S0IX_SUPPORT
1002 bool "Don't support S0IX suspend"
1005 Select if the board only supports S3 and/or S4 and not S0IX
1007 config D3COLD_SUPPORT
1008 bool "Don't support D3Cold"
1009 default n if NO_S0IX_SUPPORT
1012 Select if any devices don't support D3Cold state
1014 source "src/device/dram/Kconfig"