Matt DeVillier has uploaded this change for review. ( https://review.coreboot.org/c/coreboot/+/76942?usp=email )
Change subject: mb/google/glados: use acpi_is_wakeup_s3() vs FSP UPD ......................................................................
mb/google/glados: use acpi_is_wakeup_s3() vs FSP UPD
To be consist with other boards setting the keyboard backlight at boot.
Change-Id: I40d8ebe468a967f0dfe1e82bff9c63f1986699c7 Signed-off-by: Matt DeVillier matt.devillier@gmail.com --- M src/mainboard/google/glados/romstage.c 1 file changed, 2 insertions(+), 2 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/42/76942/1
diff --git a/src/mainboard/google/glados/romstage.c b/src/mainboard/google/glados/romstage.c index 9a968b1..35b53e2 100644 --- a/src/mainboard/google/glados/romstage.c +++ b/src/mainboard/google/glados/romstage.c @@ -1,5 +1,6 @@ /* SPDX-License-Identifier: GPL-2.0-only */
+#include <acpi/acpi.h> #include <baseboard/variant.h> #include <ec/google/chromeec/ec.h> #include <gpio.h> @@ -16,8 +17,7 @@
#ifdef EC_ENABLE_KEYBOARD_BACKLIGHT /* Turn on keyboard backlight to indicate we are booting */ - const FSPM_ARCH_UPD *arch_upd = &mupd->FspmArchUpd; - if (arch_upd->BootMode != FSP_BOOT_ON_S3_RESUME) + if (!acpi_is_wakeup_s3()) google_chromeec_kbbacklight(25); #endif