From d4d321ff8986171cecc8cf12f98b0119c0201f90 Mon Sep 17 00:00:00 2001 From: Sean Rhodes Date: Mon, 18 Mar 2024 10:22:59 +0000 Subject: ec/starlabs/merlin: Report the battery cycle count to ACPI Change-Id: Iccb60d3530227fb71a3ce5a3ab1421627cc86611 Signed-off-by: Sean Rhodes Reviewed-on: https://review.coreboot.org/c/coreboot/+/81405 Reviewed-by: Matt DeVillier Tested-by: build bot (Jenkins) --- src/ec/starlabs/merlin/variants/glk/emem.asl | 1 + 1 file changed, 1 insertion(+) (limited to 'src/ec/starlabs/merlin/variants/glk/emem.asl') diff --git a/src/ec/starlabs/merlin/variants/glk/emem.asl b/src/ec/starlabs/merlin/variants/glk/emem.asl index 5df3bc0492..64cd5edbbf 100644 --- a/src/ec/starlabs/merlin/variants/glk/emem.asl +++ b/src/ec/starlabs/merlin/variants/glk/emem.asl @@ -94,6 +94,7 @@ Field (ECF2, ByteAcc, Lock, Preserve) B1RC, 16, // Battery Remaining Capacity B1PV, 16, // Battery Present Voltage BPRP, 16, // Battery Remaining percentage + B1CC, 16, // Battery Cycle Count Offset(0x9d), OPWE, 8, // OPM write to EC flag for UCSI -- cgit v1.2.3