ec/starlabs/merlin/cml: Correct the offset for Max Charge

The offset for Max Charge is located at 0x1a, so correct this in the
definitions and EC memory ACPI.

Change-Id: I92cc452d1189e62db78aed787f2de65fd5096564
Signed-off-by: Sean Rhodes <sean@starlabs.systems>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/66962
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Angel Pons <th3fanbus@gmail.com>
This commit is contained in:
Sean Rhodes
2022-08-23 11:23:12 +01:00
committed by Martin Roth
parent c6e26fbf85
commit f26d7ea2e9
2 changed files with 3 additions and 3 deletions

View File

@@ -14,7 +14,7 @@
#define ECRAM_KBL_TIMEOUT 0x07
#define ECRAM_FN_CTRL_REVERSE 0x08
#define ECRAM_FAN_MODE 0x09
#define ECRAM_MAX_CHARGE 0x10
#define ECRAM_MAX_CHARGE 0x1a
#define ECRAM_TRACKPAD_STATE 0x14
#define ECRAM_KBL_STATE 0x18
#define ECRAM_KBL_BRIGHTNESS 0x19

View File

@@ -22,7 +22,7 @@ Field (ECF2, ByteAcc, Lock, Preserve)
P1SV, 8, // PD Port 1 Minor Version
Offset(0x10),
BFCP, 8, // Battery Full Charge Percentage
PWCT, 8, // Power Control
CDEV, 8, // Control Device
OSFG, 8, // OS Flag
@@ -35,7 +35,7 @@ Field (ECF2, ByteAcc, Lock, Preserve)
KLBE, 8, // Keyboard Backlight Brightness
Offset(0x1a),
CWFU, 8, // CW2015 Full
BFCP, 8, // Battery Full Charge Percentage
Offset(0x1c),
WIFI, 8, // WiFi Enable