Patrick Rudolph (siro@das-labor.org) just uploaded a new patch set to gerrit, which you can find at https://review.coreboot.org/18194
-gerrit
commit 6608f52a89001a82293a37af051d0fa5ff608ce4 Author: Patrick Rudolph siro@das-labor.org Date: Sat Jan 21 10:43:52 2017 +0100
nb/intel/gm45/igd: Hide IGD while disabling
Hide the IGD to make sure ramstage doesn't detect it.
Change-Id: If389016f3bb0c4c2fd0b826914997a87a9137201 Signed-off-by: Patrick Rudolph siro@das-labor.org --- src/northbridge/intel/gm45/igd.c | 5 +++++ 1 file changed, 5 insertions(+)
diff --git a/src/northbridge/intel/gm45/igd.c b/src/northbridge/intel/gm45/igd.c index 74572ca..1164339 100644 --- a/src/northbridge/intel/gm45/igd.c +++ b/src/northbridge/intel/gm45/igd.c @@ -127,6 +127,11 @@ static void disable_igd(const sysinfo_t *const sysinfo) MCHBAR16(0x119e) = (MCHBAR16(0x119e) & ~(7 << 13)) | (4 << 13); MCHBAR16(0x119e) |= (1 << 12); } + + /* Hide IGD. */ + u32 deven = pci_read_config32(mch_dev, D0F0_DEVEN); + deven &= ~(3 << 3); + pci_write_config32(mch_dev, D0F0_DEVEN, deven); }
void init_igd(const sysinfo_t *const sysinfo)