diff options
author | Patrick Rudolph <siro@das-labor.org> | 2017-05-19 08:18:54 +0200 |
---|---|---|
committer | Martin Roth <martinroth@google.com> | 2017-08-21 16:51:12 +0000 |
commit | 7f395fe95bd525581214bc12bb7a231be766a502 (patch) | |
tree | 7d775d9b791aa2d187a2e8bd593724c5f89b5f0b /src/ec/lenovo/h8/Kconfig | |
parent | a9117770e93c51edd24fc1018a6cc6e66d85de64 (diff) | |
download | coreboot-7f395fe95bd525581214bc12bb7a231be766a502.tar.xz |
ec/lenovo/h8: Add panic method
Add two additional LED IDs.
Add Kconfig menu entries to allow selecting the action
to execute on death.
Overwrite weak die_notify method to notify user on death.
Flash all LEDs and play beep code 10 depending on Kconfig
options.
Successfully tested on:
Tested on Lenovo T500.
Tested on Lenovo X200.
Tested on Lenovo T430, but only LEDs are flashing.
Change-Id: Id34d399f154952a48c1f4ccb0c41a238b2d7ccb8
Signed-off-by: Patrick Rudolph <siro@das-labor.org
Reviewed-on: https://review.coreboot.org/19695
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Martin Roth <martinroth@google.com>
Diffstat (limited to 'src/ec/lenovo/h8/Kconfig')
-rw-r--r-- | src/ec/lenovo/h8/Kconfig | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/src/ec/lenovo/h8/Kconfig b/src/ec/lenovo/h8/Kconfig index 98e8e308c1..190f4a98a7 100644 --- a/src/ec/lenovo/h8/Kconfig +++ b/src/ec/lenovo/h8/Kconfig @@ -9,6 +9,18 @@ config SEABIOS_PS2_TIMEOUT depends on PAYLOAD_SEABIOS default 3000 +config H8_BEEP_ON_DEATH + bool "Beep on fatal error" + default y + help + Beep when encountered a fatal error. + +config H8_FLASH_LEDS_ON_DEATH + bool "Flash LEDs on fatal error" + default y + help + Flash all LEDs when encountered a fatal error. + endif config H8_DOCK_EARLY_INIT |