Mike Banon has uploaded this change for review. ( https://review.coreboot.org/c/coreboot/+/57319 )
Change subject: src/device/Kconfig: introduce the AMD_DGPU_WITHOUT_EEPROM symbols ......................................................................
src/device/Kconfig: introduce the AMD_DGPU_WITHOUT_EEPROM symbols
Some platforms like Lenovo G505S have the motherboard versions with the onboard AMD discrete GPU without its own dedicated EEPROM storage for VGA Option ROM. For such a discrete GPU to be usable with coreboot, the PCI init of GPUs has to be done differently.
These AMD_DGPU_WITHOUT_EEPROM symbols can help for such cases.
Change-Id: I424f93961c9d4a856dd6f5285417597cb117084d --- M src/device/Kconfig 1 file changed, 17 insertions(+), 0 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/19/57319/1
diff --git a/src/device/Kconfig b/src/device/Kconfig index 5ae3466..3df5d79 100644 --- a/src/device/Kconfig +++ b/src/device/Kconfig @@ -58,6 +58,23 @@ Selected by mainboards that implement support for `libgfxinit`. Usually this requires a list of ports to be probed for displays.
+config MAINBOARD_HAS_AMD_DGPU_WITHOUT_EEPROM + def_bool n + help + Selected by mainboards that have the onboard AMD discrete GPU + without its own dedicated EEPROM storage for VGA Option ROM. + +config AMD_DGPU_WITHOUT_EEPROM + def_bool n + prompt "AMD discrete GPU without EEPROM" + depends on MAINBOARD_HAS_AMD_DGPU_WITHOUT_EEPROM + help + Some platforms like Lenovo G505S have the motherboard versions + with the onboard AMD discrete GPU without its own dedicated EEPROM + storage for VGA Option ROM. For such a discrete GPU to be usable + with coreboot, the PCI initialization has to be done differently. + Enable this option if your motherboard has such a discrete GPU. + choice prompt "Graphics initialization" default NO_GFX_INIT if VGA_ROM_RUN_DEFAULT && PAYLOAD_SEABIOS