summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/soc/intel/broadwell/gma.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/src/soc/intel/broadwell/gma.c b/src/soc/intel/broadwell/gma.c
index 45d18331af..b6ce426cde 100644
--- a/src/soc/intel/broadwell/gma.c
+++ b/src/soc/intel/broadwell/gma.c
@@ -515,12 +515,8 @@ static void igd_init(struct device *dev)
/* Wait for any configured pre-graphics delay */
if (!acpi_is_wakeup_s3()) {
-#if CONFIG(CHROMEOS)
- if (display_init_required())
+ if (!CONFIG(CHROMEOS) || display_init_required())
mdelay(CONFIG_PRE_GRAPHICS_DELAY);
-#else
- mdelay(CONFIG_PRE_GRAPHICS_DELAY);
-#endif
}
/* Early init steps */