diff options
author | Sean Rhodes <sean@starlabs.systems> | 2024-03-18 10:15:21 +0000 |
---|---|---|
committer | Felix Held <felix-coreboot@felixheld.de> | 2024-06-07 18:49:31 +0000 |
commit | d57e57eb22dd9bc413ed75220dfce0929d6ca41f (patch) | |
tree | d7a41af36ed607f939d3dff422da817693113f9c /src/ec/starlabs/merlin/variants/glk | |
parent | a273e1da864503864de698be7ddf69bf83b83414 (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/glk')
-rw-r--r-- | src/ec/starlabs/merlin/variants/glk/emem.asl | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/ec/starlabs/merlin/variants/glk/emem.asl b/src/ec/starlabs/merlin/variants/glk/emem.asl index d9d80b1921..94e4b3ffd2 100644 --- a/src/ec/starlabs/merlin/variants/glk/emem.asl +++ b/src/ec/starlabs/merlin/variants/glk/emem.asl @@ -93,8 +93,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 |