From 1c968c135c1538b9f28ab3751c531daeaf8d8f09 Mon Sep 17 00:00:00 2001 From: Duncan Laurie Date: Wed, 17 Apr 2019 15:12:45 -0700 Subject: [PATCH] ec/google/wilco: Send "logo displayed" progress code This progress code enables keyboard backlight control that otherwise would only work 30 seconds after boot. This code is already defined but it was not being sent by coreboot. It is run in the "post device" step between the other defined progress codes. BUG=b:130754032 Change-Id: Ica6c622e568cb236c17bf3edb6639d0177510846 Signed-off-by: Duncan Laurie Reviewed-on: https://review.coreboot.org/c/coreboot/+/32348 Tested-by: build bot (Jenkins) Reviewed-by: Lijian Zhao Reviewed-by: Paul Menzel --- src/ec/google/wilco/chip.c | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/src/ec/google/wilco/chip.c b/src/ec/google/wilco/chip.c index 0858e1c3bf..9b0be19f9a 100644 --- a/src/ec/google/wilco/chip.c +++ b/src/ec/google/wilco/chip.c @@ -46,6 +46,13 @@ static void wilco_ec_post_video_init(void *unused) BOOT_STATE_INIT_ENTRY(BS_DEV_INIT, BS_ON_EXIT, wilco_ec_post_video_init, NULL); +static void wilco_ec_post_logo_displayed(void *unused) +{ + wilco_ec_send(KB_BIOS_PROGRESS, BIOS_PROGRESS_LOGO_DISPLAYED); +} +BOOT_STATE_INIT_ENTRY(BS_POST_DEVICE, BS_ON_EXIT, + wilco_ec_post_logo_displayed, NULL); + static void wilco_ec_resume(void *unused) { wilco_ec_send_noargs(KB_RESTORE);