summaryrefslogtreecommitdiff
path: root/common/vboot/vboot.c
diff options
context:
space:
mode:
authorDaisuke Nojiri <dnojiri@chromium.org>2017-09-25 14:53:55 -0700
committerchrome-bot <chrome-bot@chromium.org>2017-09-29 11:24:37 -0700
commit48e38cc3707ad7ce174c29d52b009376eac5d1e9 (patch)
treee98e713cebe74a50353ca41b2adfbe6b68dd72bf /common/vboot/vboot.c
parent95c0393a67113cac466888c2c70ffd553bb6f6ee (diff)
downloadchrome-ec-48e38cc3707ad7ce174c29d52b009376eac5d1e9.tar.gz
Fizz: Show critical error on LED for recovery request
Fizz EC verifies RW by itself and jumps to RW before AP boots. If this fails, the system needs recovery. Since EC isn't capable of showing any info on a display, we use the power LED to inform the user. BUG=b:66914368 BRANCH=none TEST=Make Fizz fail RW verification. Observe LED illuminates in red. Change-Id: Ia07de60a316b40e74b1917903996d78750b4ae43 Signed-off-by: Daisuke Nojiri <dnojiri@chromium.org> Reviewed-on: https://chromium-review.googlesource.com/683218
Diffstat (limited to 'common/vboot/vboot.c')
-rw-r--r--common/vboot/vboot.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/common/vboot/vboot.c b/common/vboot/vboot.c
index c645d7b4f9..d8f12f6a98 100644
--- a/common/vboot/vboot.c
+++ b/common/vboot/vboot.c
@@ -154,8 +154,8 @@ static void request_power(void)
static void request_recovery(void)
{
- /* TODO(crosbug.com/p/37646390): Blink LED */
CPRINTS("%s", __func__);
+ led_critical();
}
static int is_manual_recovery(void)