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>
This commit is contained in:
parent
35b601cd71
commit
74bc46c4db
1 changed files with 1 additions and 5 deletions
|
@ -515,12 +515,8 @@ static void igd_init(struct device *dev)
|
||||||
|
|
||||||
/* Wait for any configured pre-graphics delay */
|
/* Wait for any configured pre-graphics delay */
|
||||||
if (!acpi_is_wakeup_s3()) {
|
if (!acpi_is_wakeup_s3()) {
|
||||||
#if CONFIG(CHROMEOS)
|
if (!CONFIG(CHROMEOS) || display_init_required())
|
||||||
if (display_init_required())
|
|
||||||
mdelay(CONFIG_PRE_GRAPHICS_DELAY);
|
mdelay(CONFIG_PRE_GRAPHICS_DELAY);
|
||||||
#else
|
|
||||||
mdelay(CONFIG_PRE_GRAPHICS_DELAY);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Early init steps */
|
/* Early init steps */
|
||||||
|
|
Loading…
Reference in a new issue