From d57e57eb22dd9bc413ed75220dfce0929d6ca41f Mon Sep 17 00:00:00 2001 From: Sean Rhodes Date: Mon, 18 Mar 2024 10:15:21 +0000 Subject: ec/starlabs/merlin/*: Fix the size of the battery soc The battery remaining percentage is a uint16_t, so correct this in the EC memory. This change is non-function, as the EC is little endian. Change-Id: I56a0ae8199a95c9722e9bcb4c0739f4ef1d6ab05 Signed-off-by: Sean Rhodes Reviewed-on: https://review.coreboot.org/c/coreboot/+/81403 Reviewed-by: Matt DeVillier Tested-by: build bot (Jenkins) --- src/ec/starlabs/merlin/variants/glkr/emem.asl | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'src/ec/starlabs/merlin/variants/glkr') diff --git a/src/ec/starlabs/merlin/variants/glkr/emem.asl b/src/ec/starlabs/merlin/variants/glkr/emem.asl index 6fa827eea8..b0df4f3087 100644 --- a/src/ec/starlabs/merlin/variants/glkr/emem.asl +++ b/src/ec/starlabs/merlin/variants/glkr/emem.asl @@ -65,8 +65,7 @@ Field (ECF2, ByteAcc, Lock, Preserve) B1PR, 16, // Battery Present Rate B1RC, 16, // Battery Remaining Capacity B1PV, 16, // Battery Present Voltage - BPRP, 8, // Battery Remaining percentage - BT1A, 8, // Bt1 ASOC + BPRP, 16, // Battery Remaining percentage BT1T, 16, // Bt1 Temperature BT1C, 8, // Bt1 Control -- cgit v1.2.3