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 <dlaurie@google.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/32348 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Lijian Zhao <lijian.zhao@intel.com> Reviewed-by: Paul Menzel <paulepanter@users.sourceforge.net>
This commit is contained in:
parent
db3f0e3ebd
commit
1c968c135c
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue