coreboot-kgpe-d16/src
Keith Short f41afde6c2 ec/google/wilco: set diagnostic LEDs on boot failure
On Wilco devices, if any of the coreboot stages fails with a fatal
error, set the diagnostic LEDs with the Wilco EC.  The last saved
post code is used to determine the error code sent to the EC.

BUG=b:124401932
BRANCH=sarien
TEST=build coreboot for sarien and arcada platforms
TEST=Remove DIMM module, confirm diagnostic LED pattern for memory
failure (2 amber, 4 white).
TEST=Forced a fatal error in both bootblock and verstage to confirm
diagnostic LEDs during these stages. This works on cold-boots only. Bug
b:132622888 tracks the mailbox failures on warm boots.

Change-Id: If865ab8203f89e499130f4677fec166b40d80174
Signed-off-by: Keith Short <keithshort@chromium.org>
Signed-off-by: Duncan Laurie <dlaurie@google.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/32777
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Jett Rink <jettrink@chromium.org>
Reviewed-by: Duncan Laurie <dlaurie@chromium.org>
Reviewed-by: Furquan Shaikh <furquan@google.com>
2019-05-22 20:01:25 +00:00
..
acpi
arch post_code: add post code for failure to load next stage 2019-05-22 14:21:57 +00:00
commonlib vboot: include vb2_sha.h when required 2019-05-09 06:32:44 +00:00
console post_code: add post code for hardware initialization failure 2019-05-22 17:44:53 +00:00
cpu {arch,cpu}/x86, drivers/intel: Restore cpu_index error handling 2019-05-16 18:08:50 +00:00
device vboot: remove OPROM-related code 2019-05-15 17:50:08 +00:00
drivers post_code: add post code for video initialization failure 2019-05-22 17:45:11 +00:00
ec ec/google/wilco: set diagnostic LEDs on boot failure 2019-05-22 20:01:25 +00:00
include post_code: add post code for video initialization failure 2019-05-22 17:45:11 +00:00
lib post_code: add post code for failure to load next stage 2019-05-22 14:21:57 +00:00
mainboard mb/up/squared: Add mainboard 2019-05-22 12:13:22 +00:00
northbridge post_code: add post code for invalid vendor binary 2019-05-22 16:53:19 +00:00
security post_code: add post code for failure to load next stage 2019-05-22 14:21:57 +00:00
soc post_code: add post code for hardware initialization failure 2019-05-22 17:44:53 +00:00
southbridge sb/amd/cimx/sb800: Get rid of power button device in coreboot 2019-05-20 14:43:44 +00:00
superio superio/ite: Add IT8786E-I 2019-05-15 17:45:41 +00:00
vendorcode binaryPI/00670F000: Remove AGESA.c file 2019-05-21 09:26:40 +00:00
Kconfig src/Kconfig: Move DRAM section to src/lib/Kconfig 2019-05-20 10:58:56 +00:00