coreboot/src
Arthur Heymans 924a7dc422 UPSTREAM: nb/intel/i945: Fix PEG port on 945gc
Vendor BIOS leaves UPMC1 untouched (on 945gc the default is 0x0203).

Not running PCIEx16 init which is valid for 945gm seems to fix all
issues and instabilities related to the PEG port.

According to lspci the link width is at the desired x16.
It is unknown if devices requesting a lower width work automatically
or need more configuration.

What happens is that IGD gets disabled by the disable function in
gma.c when an external GPU is found unless
CONFIG_ONBOARD_VGA_IS_PRIMARY is set.

Setting IGD as secondary makes Linux (4.10) hang, so this behavior is
a requirement for now.

TESTED on P5GC-MX with a discrete GPU and both
CONFIG_ONBOARD_VGA_IS_PRIMARY set and unset.

BUG=none
BRANCH=none
TEST=none

Change-Id: I305d73ec4472f7df1618d5da29853ffcfb048e30
Signed-off-by: Patrick Georgi <pgeorgi@chromium.org>
Original-Commit-Id: 2f6b52e3a0
Original-Change-Id: I6da8aa7714073f4b34df5ae3c1eb4c19e27ddc97
Original-Signed-off-by: Arthur Heymans <arthur@aheymans.xyz>
Original-Reviewed-on: https://review.coreboot.org/18549
Original-Tested-by: build bot (Jenkins)
Original-Reviewed-by: Nico Huber <nico.h@gmx.de>
Reviewed-on: https://chromium-review.googlesource.com/480104
2017-04-18 13:18:55 -07:00
..
acpi UPSTREAM: src/acpi: Capitalize ACPI and SATA 2016-08-04 23:37:57 -07:00
arch UPSTREAM: arch/x86: remove CAR global migration when postcar stage is used 2017-04-10 14:28:39 -07:00
commonlib UPSTREAM: commonlib: Wrap lines at 80 columns 2017-03-14 07:25:36 -07:00
console UPSTREAM: console: Enable do_printk_va_list for VBOOT 2017-01-05 11:00:16 -08:00
cpu UPSTREAM: arch/x86: remove CAR global migration when postcar stage is used 2017-04-10 14:28:39 -07:00
device UPSTREAM: libgfxinit: Select CONFIG_VGA when needed 2017-04-10 14:28:37 -07:00
drivers UPSTREAM: drivers/spi/tpm: Clean up SPI TPM driver 2017-04-18 13:18:51 -07:00
ec UPSTREAM: ec/roda/it8518: Do EC write manually with long timeout 2017-04-10 14:28:38 -07:00
include UPSTREAM: drivers/spi/tpm: Clean up SPI TPM driver 2017-04-18 13:18:51 -07:00
lib UPSTREAM: src/lib/jpeg: Fix missing closing brace 2017-03-30 05:30:09 -07:00
mainboard UPSTREAM: mainboard/google/eve: Remove ACPI ALS device 2017-04-18 13:18:55 -07:00
northbridge UPSTREAM: nb/intel/i945: Fix PEG port on 945gc 2017-04-18 13:18:55 -07:00
soc UPSTREAM: soc/intel/skylake: Split AC/DC settings for Deep Sx config 2017-04-18 13:18:52 -07:00
southbridge UPSTREAM: sb/intel/i82801gx: Add i2c_block_read to smbus.h 2017-04-12 11:35:27 -07:00
superio UPSTREAM: superio/fintek: Add support for Fintek F71808A 2017-03-30 05:29:57 -07:00
vboot UPSTREAM: Remove libverstage as separate library and source file class 2017-03-29 13:43:09 -07:00
vendorcode UPSTREAM: KBL: Update FSP headers - upgrade to FSP 2.0.0 2017-04-13 23:54:07 -07:00
Kconfig UPSTREAM: GDB_WAIT: Clarify Kconfig description 2017-03-16 00:11:36 -07:00