UPSTREAM: nb/intel/gm45/igd: Hide IGD while disabling
Hide the IGD to make sure ramstage doesn't detect it.
BUG=none
BRANCH=none
TEST=none
Change-Id: Ibb747e98c2851dc5a8dd744e6aa2c1fc04c3789c
Signed-off-by: Patrick Georgi <pgeorgi@chromium.org>
Original-Commit-Id: bb1af99622
Original-Change-Id: If389016f3bb0c4c2fd0b826914997a87a9137201
Original-Signed-off-by: Patrick Rudolph <siro@das-labor.org>
Original-Reviewed-on: https://review.coreboot.org/18194
Original-Tested-by: build bot (Jenkins)
Original-Reviewed-by: Nico Huber <nico.h@gmx.de>
Reviewed-on: https://chromium-review.googlesource.com/438053
This commit is contained in:
parent
5c11f09758
commit
376c0aea6a
1 changed files with 5 additions and 0 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue