From 6897f4e796c4645cec5d7a247dba78f002008080 Mon Sep 17 00:00:00 2001 From: Vadim Bendebury Date: Mon, 13 Apr 2015 16:32:45 -0700 Subject: google/storm: indicate start of normal boot on LED ring Instead of switching off the LED ring for the normal boot path, turn it on with the dedicated pattern, indicating that the device firmware has started executing. BRANCH=storm BUG=chrome-os-partner:39044 TEST=program the new firmware on an SP5 device and verify that the new 'normal boot' pattern is displayed in all following scenarios: - power up the device (the pattern shows within the first second) - boot the device to bash prompt and restart. - press the recovery button and reboot the device. Once the LED ring shows the 'recovery button pressed' pattern, release the recovery button. Change-Id: Iedd66d2575ad587af77e35d23efb22a83a92858b Signed-off-by: Patrick Georgi Original-Commit-Id: 092358bd17a323d0bd2fec555f43cb587486bbec Original-Change-Id: I24de45326eab83b57bcf16b5598388f81c7d0f00 Original-Signed-off-by: Vadim Bendebury Original-Reviewed-on: https://chromium-review.googlesource.com/265536 Original-Reviewed-by: Aaron Durbin Reviewed-on: http://review.coreboot.org/9923 Tested-by: build bot (Jenkins) Reviewed-by: Stefan Reinauer Reviewed-by: Paul Menzel --- src/mainboard/google/storm/chromeos.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/mainboard/google/storm/chromeos.c b/src/mainboard/google/storm/chromeos.c index 0076b3cd01..a28ecd7d8a 100644 --- a/src/mainboard/google/storm/chromeos.c +++ b/src/mainboard/google/storm/chromeos.c @@ -106,6 +106,7 @@ static enum switch_state get_switch_state(void) if (!sampled_value) { saved_state = no_req; + display_pattern(WWR_NORMAL_BOOT); return saved_state; } @@ -139,7 +140,7 @@ static enum switch_state get_switch_state(void) } } else { saved_state = no_req; - display_pattern(WWR_ALL_OFF); + display_pattern(WWR_NORMAL_BOOT); } return saved_state; -- cgit v1.2.3