diff options
author | Mike Banon <mikebdp2@gmail.com> | 2019-02-17 19:51:53 +0300 |
---|---|---|
committer | Patrick Georgi <pgeorgi@google.com> | 2019-03-07 17:23:41 +0000 |
commit | 0f8547e2ce9c546087ffbe8b43d6574d318d9751 (patch) | |
tree | 633038b1403d9fc2a8f9b6740acc0748128536fd /src/device/Kconfig | |
parent | 8e3b842b8baac7b97100568d1102f83a9868173a (diff) |
src/device/Kconfig: Include the discrete VGA OpROM at config UI
Create the way of adding the discrete VGA OpROM at config UI (alternative to
./cbfstool ./cb.rom add -f vgabios_dgpu.bin -n pci1002,6663.rom -t optionrom )
DGPU options are accessible only if CONFIG_VGA_BIOS is enabled.
Signed-off-by: Mike Banon <mikebdp2@gmail.com>
Change-Id: I0a7bf0fe95c833cf3df0c7cb20fc27b6ab218c5a
Reviewed-on: https://review.coreboot.org/c/coreboot/+/31449
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Patrick Rudolph <siro@das-labor.org>
Reviewed-by: Paul Menzel <paulepanter@users.sourceforge.net>
Diffstat (limited to 'src/device/Kconfig')
-rw-r--r-- | src/device/Kconfig | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/src/device/Kconfig b/src/device/Kconfig index f0fdce2a92..8001b4310e 100644 --- a/src/device/Kconfig +++ b/src/device/Kconfig @@ -613,6 +613,41 @@ config VGA_BIOS_ID Under GNU/Linux you can run `lspci -nn` to list the IDs of your PCI devices. +config VGA_BIOS_DGPU + bool "Add a discrete VGA BIOS image" + depends on VGA_BIOS + help + Select this option if you have a VGA BIOS image for discrete GPU + that you would like to add to your ROM. + + You will be able to specify the location and file name of the + image later. + +config VGA_BIOS_DGPU_FILE + string "Discrete VGA BIOS path and filename" + depends on VGA_BIOS_DGPU + default "vgabios_dgpu.bin" + help + The path and filename of the file to use as VGA BIOS for discrete GPU. + +config VGA_BIOS_DGPU_ID + string "Discrete VGA device PCI IDs" + depends on VGA_BIOS_DGPU + default "1002,6663" + help + The comma-separated PCI vendor and device ID that would associate + your VGA BIOS to your discrete video card. + + Examples: + 1002,6663 for HD 8570M + 1002,6665 for R5 M230 + + In the above examples 1002 is the PCI vendor ID (in hex, but without + the "0x" prefix) and 6663 / 6665 specifies the PCI device ID of the + discrete video card (also in hex, without "0x" prefix). + + Under GNU/Linux you can run `lspci -nn` to list the IDs of your PCI devices. + config INTEL_GMA_HAVE_VBT bool help |