From 5f445f21e0704d600e87616b230c5eaf460de6fb Mon Sep 17 00:00:00 2001 From: Tim Crawford Date: Tue, 2 Jul 2024 09:52:44 -0600 Subject: 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 Reviewed-on: https://review.coreboot.org/c/coreboot/+/83308 Tested-by: build bot (Jenkins) Reviewed-by: Jeremy Soller --- src/ec/system76/ec/acpi/s76.asl | 4 ---- 1 file changed, 4 deletions(-) (limited to 'src/ec/system76') 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) } -- cgit v1.2.3