From 7e300f51aca3833f3a5f2fffe6e36b72b718bc67 Mon Sep 17 00:00:00 2001 From: Sean Rhodes Date: Tue, 4 Apr 2023 22:12:32 +0100 Subject: ec/starlabs/merlin/acpi: Don't attempt to change EC values The EC will constantly update the battery variables approximately every 60 seconds; they should be used unmodified, rather than trying to change them. Signed-off-by: Sean Rhodes Change-Id: I3cff0ac6a322018cbca33b5f90dd62b3475da25c Reviewed-on: https://review.coreboot.org/c/coreboot/+/74186 Tested-by: build bot (Jenkins) Reviewed-by: Lean Sheng Tan --- src/ec/starlabs/merlin/acpi/battery.asl | 3 --- 1 file changed, 3 deletions(-) (limited to 'src') diff --git a/src/ec/starlabs/merlin/acpi/battery.asl b/src/ec/starlabs/merlin/acpi/battery.asl index 12aaa74945..abdcc5b076 100644 --- a/src/ec/starlabs/merlin/acpi/battery.asl +++ b/src/ec/starlabs/merlin/acpi/battery.asl @@ -34,9 +34,6 @@ Device (BAT0) Method (_BIF, 0, Serialized) { BPKG[1] = B1DC - If (B1FC >= B1DC) { - B1FC = B1DC - } BPKG[2] = B1FC BPKG[4] = B1DV If (B1FC) -- cgit v1.2.3