ec/lenovo/h8: Turn on PWR LED
On warm reboot the PWR LED isn't automatically turned on by the EC. Turn it on in the ramstage code, which allows to see when the reboot has happened. TEST=PWR LED is on after warm reboot on Lenovo X220. Change-Id: Ia5fe3a52a6be622785c9588a94242ac0de0e19fa Signed-off-by: Patrick Rudolph <patrick.rudolph@9elements.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/88998 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Angel Pons <th3fanbus@gmail.com>
This commit is contained in:
parent
d8de1c4974
commit
f2d3051631
1 changed files with 6 additions and 0 deletions
|
|
@ -248,6 +248,12 @@ static void h8_enable(struct device *dev)
|
|||
ec_write(H8_CONFIG2, conf->config2);
|
||||
ec_write(H8_CONFIG3, conf->config3);
|
||||
|
||||
/*
|
||||
* Reset LEDs to power on state.
|
||||
* (Without this warm reboot leaves LEDs off)
|
||||
*/
|
||||
ec_write(H8_LED_CONTROL, H8_LED_CONTROL_ON | H8_LED_CONTROL_POWER_LED);
|
||||
|
||||
beepmask0 = conf->beepmask0;
|
||||
beepmask1 = conf->beepmask1;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue