coreboot/src
Werner Zeh f2234422e9 soc/intel/apollolake: Correct enum for PrimaryVideoAdaptor FSP parameter
Commit 1a4496e79f (soc/{apl,glk}: Allow to select the primary graphics
device) adds code to set the FSP parameter 'PrimaryVideoAdaptor' based
on the enum description of the FspmUpd.h for Apollo Lake.

Unfortunately, the comment in the header file does not match the
implementation in the FSP and hence setting PrimaryVideoAdaptor to
'GPU_PRIMARY_IGD' will be treated as if the selection was
'GPU_PRIMARY_PCI'. This in turn leads to Linux gfx driver issues for
earlier driver implementations.

This commit corrects the enum values for the FSP parameter to match the
implementation.

TEST=Boot into Linux on mc_apl1 and verify that graphics works.

Change-Id: Iedbc144fa809f6d4587f5223b235ee95579c48f7
Signed-off-by: Werner Zeh <werner.zeh@siemens.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/62889
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Maxim Polyakov <max.senia.poliak@gmail.com>
Reviewed-by: Angel Pons <th3fanbus@gmail.com>
Reviewed-by: Mario Scheithauer <mario.scheithauer@siemens.com>
Reviewed-by: Paul Menzel <paulepanter@mailbox.org>
2022-04-08 14:43:45 +00:00
..
acpi drivers/intel/dptf: Add support for Battery participant 2022-04-05 14:48:47 +00:00
arch arch/x86/postcar: Use a separate stack for C execution 2022-04-01 22:17:19 +00:00
commonlib util/cbmem: Add FlameGraph-compatible timestamps output 2022-03-31 23:04:58 +00:00
console src/console/Kconfig: Add option to disable loglevel prefix 2022-03-30 00:02:34 +00:00
cpu cpu/x86/mtrr: Delay removing temp variable range MTRR snapshot 2022-04-02 15:00:24 +00:00
device device/i2c_bus: Constify i2c_busdev and i2c_link 2022-04-01 22:17:58 +00:00
drivers drivers/amd/agesa/romstage.c: Move timestamp and console init up 2022-04-07 10:59:29 +00:00
ec ec/google/chromeec: Initialize device_path subid 2022-04-07 16:20:59 +00:00
include ELOG: Refactor watchdog_tombstone 2022-04-06 23:42:56 +00:00
lib lib/device_tree.c: zero-initialize new DT nodes 2022-03-22 20:45:26 +00:00
mainboard mb/google/brya/var/taniks: Enable Genesys L1 max entry delay 2022-04-07 20:48:18 +00:00
northbridge nb/intel/sandybridge/acpi: Support setting PCI bars above 4G 2022-03-28 15:28:19 +00:00
security {drivers/security}: Replace cb_err_t with enum cb_err 2022-03-09 08:40:43 +00:00
soc soc/intel/apollolake: Correct enum for PrimaryVideoAdaptor FSP parameter 2022-04-08 14:43:45 +00:00
southbridge sb/amd/hudson/spi.c: Use C over CPP conditional 2022-03-25 20:06:57 +00:00
superio Use the fallthrough statement in switch loops 2022-02-16 21:29:53 +00:00
vendorcode ChromeOS: Add DECLARE_x_CROS_GPIOS() 2022-04-07 20:38:12 +00:00
Kconfig src/Kconfig: Update the path to 'c_start.S' for GDB_STUB config 2022-02-22 20:49:10 +00:00