diff options
author | Tim Crawford <tcrawford@system76.com> | 2024-07-02 09:52:44 -0600 |
---|---|---|
committer | Felix Held <felix-coreboot@felixheld.de> | 2024-07-26 23:03:33 +0000 |
commit | 5f445f21e0704d600e87616b230c5eaf460de6fb (patch) | |
tree | 55087b2ba05264d19508418b5117aa6b12789cc7 /src/ec/system76 | |
parent | c6b5b075ec1ae722131141d0aefeba894e39a91b (diff) |
ec/system76/ec: Remove RPM calculation
System76 EC since system76/ec@80cfa91b9fd5 ("acpi: Report RPM values
instead of raw tachometer values") performs the RPM calculation itself
and stores it in EC RAM where previously the raw tachometer values were
saved. The SBIOS is no longer required to make the conversion.
Change-Id: I82a4e25a8ce0f274b2d98e7ff2b12595acf6c3c5
Signed-off-by: Tim Crawford <tcrawford@system76.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/83308
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Jeremy Soller <jeremy@system76.com>
Diffstat (limited to 'src/ec/system76')
-rw-r--r-- | src/ec/system76/ec/acpi/s76.asl | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/src/ec/system76/ec/acpi/s76.asl b/src/ec/system76/ec/acpi/s76.asl index 329c5d3246..06000a4077 100644 --- a/src/ec/system76/ec/acpi/s76.asl +++ b/src/ec/system76/ec/acpi/s76.asl @@ -146,10 +146,6 @@ Device (S76D) { Local1 = ^^PCI0.LPCB.EC0.RPM2 } } - If (Local1 != 0) { - // 60 * (EC frequency / 120) / 2 - Local1 = 2156250 / Local1 - } Return ((Local1 << 8) | Local0) } |