Tim Crawford has uploaded this change for review. ( https://review.coreboot.org/c/coreboot/+/83308?usp=email )
Change subject: ec/system76/ec: Remove RPM calculation ......................................................................
ec/system76/ec: Remove RPM calculation
System76 EC since system76/ec#456 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.
Ref: https://github.com/system76/ec/pull/456 Change-Id: I82a4e25a8ce0f274b2d98e7ff2b12595acf6c3c5 Signed-off-by: Tim Crawford tcrawford@system76.com --- M src/ec/system76/ec/acpi/s76.asl 1 file changed, 0 insertions(+), 4 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/08/83308/1
diff --git a/src/ec/system76/ec/acpi/s76.asl b/src/ec/system76/ec/acpi/s76.asl index 329c5d3..06000a4 100644 --- a/src/ec/system76/ec/acpi/s76.asl +++ b/src/ec/system76/ec/acpi/s76.asl @@ -146,10 +146,6 @@ Local1 = ^^PCI0.LPCB.EC0.RPM2 } } - If (Local1 != 0) { - // 60 * (EC frequency / 120) / 2 - Local1 = 2156250 / Local1 - } Return ((Local1 << 8) | Local0) }