summaryrefslogtreecommitdiffstats
path: root/src/ec/starlabs
diff options
context:
space:
mode:
authorSean Rhodes <sean@starlabs.systems>2023-04-04 22:12:32 +0100
committerMartin L Roth <gaumless@gmail.com>2023-04-28 15:29:51 +0000
commit7e300f51aca3833f3a5f2fffe6e36b72b718bc67 (patch)
treeebbe1a8c0a32b12886544cc9ee8fcb3b24a93e4f /src/ec/starlabs
parent820a2e175c9a86a4213333e12196542951d8c625 (diff)
downloadcoreboot-7e300f51aca3833f3a5f2fffe6e36b72b718bc67.tar.gz
coreboot-7e300f51aca3833f3a5f2fffe6e36b72b718bc67.tar.bz2
coreboot-7e300f51aca3833f3a5f2fffe6e36b72b718bc67.zip
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 <sean@starlabs.systems> Change-Id: I3cff0ac6a322018cbca33b5f90dd62b3475da25c Reviewed-on: https://review.coreboot.org/c/coreboot/+/74186 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Lean Sheng Tan <sheng.tan@9elements.com>
Diffstat (limited to 'src/ec/starlabs')
-rw-r--r--src/ec/starlabs/merlin/acpi/battery.asl3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/ec/starlabs/merlin/acpi/battery.asl b/src/ec/starlabs/merlin/acpi/battery.asl
index 12aaa749456e..abdcc5b07619 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)