summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSean Rhodes <sean@starlabs.systems>2022-07-31 17:37:28 +0100
committerMartin Roth <martin.roth@amd.corp-partner.google.com>2022-10-06 18:17:25 +0000
commita0f3b86e1336be209a43cbd08f9a95e0ebb5e201 (patch)
tree5397f066c5707e79363590257a0e67cb2cb48754
parent8de7c01e8b1db914f8f14b7b0c61e3652157f2fd (diff)
mb/starlabs/lite/glkr: Enable configuring Fast Charging on the Lite Mk IV
Signed-off-by: Sean Rhodes <sean@starlabs.systems> Change-Id: I714867d455c4e0d01d6cb1cb9dc64669fb41100c Reviewed-on: https://review.coreboot.org/c/coreboot/+/66319 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Angel Pons <th3fanbus@gmail.com>
-rw-r--r--src/mainboard/starlabs/lite/Kconfig1
-rw-r--r--src/mainboard/starlabs/lite/variants/glkr/cmos.default1
-rw-r--r--src/mainboard/starlabs/lite/variants/glkr/cmos.layout4
3 files changed, 6 insertions, 0 deletions
diff --git a/src/mainboard/starlabs/lite/Kconfig b/src/mainboard/starlabs/lite/Kconfig
index fd177d8e01..df7e38c4ab 100644
--- a/src/mainboard/starlabs/lite/Kconfig
+++ b/src/mainboard/starlabs/lite/Kconfig
@@ -24,6 +24,7 @@ config BOARD_STARLABS_LITE_GLK
config BOARD_STARLABS_LITE_GLKR
select BOARD_STARLABS_LITE_SERIES
+ select EC_STARLABS_FAST_CHARGE
select EC_STARLABS_NUVOTON
select EC_STARLABS_KBL_LEVELS
select SOC_INTEL_GEMINILAKE
diff --git a/src/mainboard/starlabs/lite/variants/glkr/cmos.default b/src/mainboard/starlabs/lite/variants/glkr/cmos.default
index 2455e2b325..dedd7f7d2b 100644
--- a/src/mainboard/starlabs/lite/variants/glkr/cmos.default
+++ b/src/mainboard/starlabs/lite/variants/glkr/cmos.default
@@ -12,6 +12,7 @@ legacy_8254_timer=Disable
# EC
kbl_timeout=30 seconds
fn_ctrl_swap=Disable
+fast_charge=Normal
# southbridge
power_on_after_fail=Disable
# Functions
diff --git a/src/mainboard/starlabs/lite/variants/glkr/cmos.layout b/src/mainboard/starlabs/lite/variants/glkr/cmos.layout
index e6b3be2da7..3dfc8de03b 100644
--- a/src/mainboard/starlabs/lite/variants/glkr/cmos.layout
+++ b/src/mainboard/starlabs/lite/variants/glkr/cmos.layout
@@ -28,6 +28,7 @@ entries
# coreboot config options: EC
600 3 e 4 kbl_timeout
608 1 e 1 fn_ctrl_swap
+616 1 e 11 fast_charge
# coreboot config options: southbridge
800 2 e 6 power_on_after_fail
@@ -93,6 +94,9 @@ enumerations
10 2 High
10 3 On
+11 0 Normal
+11 1 Fast
+
# -----------------------------------------------------------------
checksums