diff options
author | Patrick Rudolph <siro@das-labor.org> | 2017-11-13 19:00:11 +0100 |
---|---|---|
committer | Patrick Rudolph <siro@das-labor.org> | 2017-12-03 16:55:38 +0000 |
commit | 9b8ef11f00e895cf55e80f3a762ffb7cf500cc07 (patch) | |
tree | 0c56d930e881f225c146ce5453947f7195a89ba3 /src/console/init.c | |
parent | c6fa12727abb6b2acfa5f75478a2e9bcfde90008 (diff) |
ec/lenovo/h8/acpi: Fix regression (MS Windows crash on boot)
Fix a regression introduced by #21227 0709dc04
(ec/lenovo/h8/acpi/thermal: Add ACPI fan control).
The commit caused Windows to crash as EC reads aren't allowed in the fan
device or it's powerresource's methods. Implement the same approach as all
other platforms using a GNVS variable named FLVL instead of reading from EC.
In addition to EC reads writing to FIELD elements, in another ACPI scope,
seems to be broken. Introduce a new method to set the fan disengage mode.
Tested on Windows 7 and Lenovo T500.
Change-Id: Ia99f8814ac14194578dcd1aa50a63e3f35c042dd
Signed-off-by: Patrick Rudolph <siro@das-labor.org>
Reviewed-on: https://review.coreboot.org/22514
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Alexander Couzens <lynxis@fe80.eu>
Diffstat (limited to 'src/console/init.c')
0 files changed, 0 insertions, 0 deletions