diff options
author | Duncan Laurie <dlaurie@google.com> | 2019-04-17 15:12:45 -0700 |
---|---|---|
committer | Duncan Laurie <dlaurie@chromium.org> | 2019-04-18 23:42:26 +0000 |
commit | 1c968c135c1538b9f28ab3751c531daeaf8d8f09 (patch) | |
tree | fa379c8a1107ffe1ac22882f597bd4e984194cf8 /src | |
parent | db3f0e3ebd8364d3cd46130743f38ff8425299f8 (diff) | |
download | coreboot-1c968c135c1538b9f28ab3751c531daeaf8d8f09.tar.xz |
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>
Diffstat (limited to 'src')
-rw-r--r-- | src/ec/google/wilco/chip.c | 7 |
1 files changed, 7 insertions, 0 deletions
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); |