Kyösti Mälkki has uploaded this change for review. ( https://review.coreboot.org/c/coreboot/+/48787 )
Change subject: [WIP] soc/intel/broadwell: Skip PRE_GRAPHICS_DELAY ......................................................................
[WIP] soc/intel/broadwell: Skip PRE_GRAPHICS_DELAY
Why does !CHROMEOS path unconditionally delay and why is it only purism/librem_bdw that has a delay here by default.
Change-Id: I4503158576f35057373f003586bbf76af4d59b3d Signed-off-by: Kyösti Mälkki kyosti.malkki@gmail.com --- M src/soc/intel/broadwell/gma.c 1 file changed, 1 insertion(+), 5 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/87/48787/1
diff --git a/src/soc/intel/broadwell/gma.c b/src/soc/intel/broadwell/gma.c index d42eebc..69cb153 100644 --- a/src/soc/intel/broadwell/gma.c +++ b/src/soc/intel/broadwell/gma.c @@ -512,12 +512,8 @@
/* 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 */