diff --git a/src/mainboard/google/eve/bootblock.c b/src/mainboard/google/eve/bootblock.c index 2c524f443a..baca9c895c 100644 --- a/src/mainboard/google/eve/bootblock.c +++ b/src/mainboard/google/eve/bootblock.c @@ -14,9 +14,13 @@ * GNU General Public License for more details. */ +#include #include +#include #include #include +#include +#include #include "gpio.h" static void early_config_gpio(void) @@ -26,5 +30,12 @@ static void early_config_gpio(void) void bootblock_mainboard_init(void) { + uint32_t pm1_cnt = inl(ACPI_BASE_ADDRESS + PM1_CNT); + uint32_t pm1_sts = inl(ACPI_BASE_ADDRESS + PM1_STS); + + /* Turn on keyboard backlight to indicate we are booting */ + if ((pm1_sts & WAK_STS) && (acpi_sleep_from_pm1(pm1_cnt) != ACPI_S3)) + google_chromeec_kbbacklight(75); + early_config_gpio(); }