ec/purism/librem: fix topstar driver ERAM mapping

Correct the offset for the Topstar driver enable/disable bit,
which was off by 2 bits compared to a dump of the AMI UEFI ACPI.

This prevents the fan mode (FANM) from being inadvertently changed
and hopefully fixes some intermittent issues with fan speed on
resume from suspend.

Signed-off-by: Matt DeVillier <matt.devillier@puri.sm>
Change-Id: Ibc3c39d5b14c753eed6d1ed8cbf161717f8d04e0
Reviewed-on: https://review.coreboot.org/c/coreboot/+/39105
Reviewed-by: Paul Menzel <paulepanter@users.sourceforge.net>
Reviewed-by: Angel Pons <th3fanbus@gmail.com>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
This commit is contained in:
Matt DeVillier 2020-02-24 14:43:13 -06:00 committed by Patrick Georgi
parent d5a67aa4a4
commit 1f9112f798
1 changed files with 1 additions and 0 deletions

View File

@ -65,6 +65,7 @@ Device (EC)
BTLE, 1, /* Bluetooth Enable/Disable */ BTLE, 1, /* Bluetooth Enable/Disable */
Offset (0x25), Offset (0x25),
, 5, , 5,
FANM, 2,
TPSE, 1, /* topstar-laptop driver enable/disable */ TPSE, 1, /* topstar-laptop driver enable/disable */
Offset (0x31), Offset (0x31),
, 6, , 6,