From 959ac071d49aae86d32f706e23f6e04c61286f6d Mon Sep 17 00:00:00 2001 From: Nico Huber Date: Thu, 8 Jun 2017 13:37:29 +0200 Subject: soc/intel/skylake/igd: Remove dead quirk from dead code path This quirk was superseded a view lines above. Also the whole path is guarded by `CONFIG_ADD_VBT_DATA_FILE` which is always selected for nearly a year now. Change-Id: I7fc5184d6e81e4588616e0302dee410e74bdab5a Signed-off-by: Nico Huber Reviewed-on: https://review.coreboot.org/20110 Tested-by: build bot (Jenkins) Reviewed-by: Aaron Durbin Reviewed-by: Sumeet R Pawnikar --- src/soc/intel/skylake/igd.c | 14 -------------- 1 file changed, 14 deletions(-) (limited to 'src') diff --git a/src/soc/intel/skylake/igd.c b/src/soc/intel/skylake/igd.c index 7aa8db7574..9304f6fe10 100644 --- a/src/soc/intel/skylake/igd.c +++ b/src/soc/intel/skylake/igd.c @@ -105,20 +105,6 @@ static void igd_init(struct device *dev) /* Initialize PCI device, load/execute BIOS Option ROM */ pci_dev_init(dev); - -#if IS_ENABLED(CONFIG_CHROMEOS) - if (!gfx_get_init_done() && !acpi_is_wakeup_s3()) { - /* - * Enable DDI-A if the Option ROM did not execute: - * - * bit 0: Display detected (RO) - * bit 4: DDI A supports 4 lanes and DDI E is not used - * bit 7: DDI buffer is idle - */ - gtt_write(DDI_BUF_CTL_A, DDI_BUF_IS_IDLE | DDI_A_4_LANES | - DDI_INIT_DISPLAY_DETECTED); - } -#endif } /* Initialize IGD OpRegion, called from ACPI code */ -- cgit v1.2.3