summaryrefslogtreecommitdiff
path: root/src/ec/starlabs/merlin/variants/glkr/emem.asl
diff options
context:
space:
mode:
authorSean Rhodes <sean@starlabs.systems>2024-03-18 10:15:21 +0000
committerFelix Held <felix-coreboot@felixheld.de>2024-06-07 18:49:31 +0000
commitd57e57eb22dd9bc413ed75220dfce0929d6ca41f (patch)
treed7a41af36ed607f939d3dff422da817693113f9c /src/ec/starlabs/merlin/variants/glkr/emem.asl
parenta273e1da864503864de698be7ddf69bf83b83414 (diff)
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 <sean@starlabs.systems> Reviewed-on: https://review.coreboot.org/c/coreboot/+/81403 Reviewed-by: Matt DeVillier <matt.devillier@gmail.com> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Diffstat (limited to 'src/ec/starlabs/merlin/variants/glkr/emem.asl')
-rw-r--r--src/ec/starlabs/merlin/variants/glkr/emem.asl3
1 files changed, 1 insertions, 2 deletions
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