summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorKyösti Mälkki <kyosti.malkki@gmail.com>2020-12-19 23:43:56 +0200
committerKyösti Mälkki <kyosti.malkki@gmail.com>2021-02-05 21:00:53 +0000
commit74bc46c4db959133e579da129638fb51a41d7ccd (patch)
tree5ac5de171e7541ae719f0efb52e75b53cb0e2e80 /src
parent35b601cd7196356bca9031091dc8c60a50223195 (diff)
soc/intel/broadwell: Convert some CONFIG(CHROMEOS) preprocessor
Change-Id: Ie3feee0448175db2b6ed4e8e37d92de3af9be371 Signed-off-by: Kyösti Mälkki <kyosti.malkki@gmail.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/50252 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Matt DeVillier <matt.devillier@gmail.com> Reviewed-by: Angel Pons <th3fanbus@gmail.com>
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 */