summaryrefslogtreecommitdiff
path: root/src/mainboard/starlabs/lite
diff options
context:
space:
mode:
authorSean Rhodes <sean@starlabs.systems>2023-03-13 10:57:41 +0000
committerFelix Held <felix-coreboot@felixheld.de>2023-04-04 14:12:02 +0000
commitda260752ab7816a5dfbc58f24736a50f50f5320c (patch)
tree14bed4bf7b73fc7da27ab4cf20b6843d981aed50 /src/mainboard/starlabs/lite
parent0579c609fbc61fff117f11b6692f770615be45cd (diff)
mb/starlabs/*: Add CMOS entries for the mirror flag
Add the required CMOS entries for the mirror flag, so that it can be enabled from a defconfig. Signed-off-by: Sean Rhodes <sean@starlabs.systems> Change-Id: I174ac896df050480ee90c8141c5536b628c98432 Reviewed-on: https://review.coreboot.org/c/coreboot/+/73682 Reviewed-by: Angel Pons <th3fanbus@gmail.com> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Diffstat (limited to 'src/mainboard/starlabs/lite')
-rw-r--r--src/mainboard/starlabs/lite/cmos.default1
-rw-r--r--src/mainboard/starlabs/lite/cmos.layout2
-rw-r--r--src/mainboard/starlabs/lite/variants/glkr/cmos.default1
-rw-r--r--src/mainboard/starlabs/lite/variants/glkr/cmos.layout2
4 files changed, 6 insertions, 0 deletions
diff --git a/src/mainboard/starlabs/lite/cmos.default b/src/mainboard/starlabs/lite/cmos.default
index 2455e2b325..c59bbe549c 100644
--- a/src/mainboard/starlabs/lite/cmos.default
+++ b/src/mainboard/starlabs/lite/cmos.default
@@ -12,6 +12,7 @@ legacy_8254_timer=Disable
# EC
kbl_timeout=30 seconds
fn_ctrl_swap=Disable
+mirror_flag=Disable
# southbridge
power_on_after_fail=Disable
# Functions
diff --git a/src/mainboard/starlabs/lite/cmos.layout b/src/mainboard/starlabs/lite/cmos.layout
index e6b3be2da7..71dd3902f6 100644
--- a/src/mainboard/starlabs/lite/cmos.layout
+++ b/src/mainboard/starlabs/lite/cmos.layout
@@ -28,6 +28,8 @@ entries
# coreboot config options: EC
600 3 e 4 kbl_timeout
608 1 e 1 fn_ctrl_swap
+616 1 e 1 mirror_flag
+624 4 h 0 mirror_flag_counter
# coreboot config options: southbridge
800 2 e 6 power_on_after_fail
diff --git a/src/mainboard/starlabs/lite/variants/glkr/cmos.default b/src/mainboard/starlabs/lite/variants/glkr/cmos.default
index dedd7f7d2b..3dbe92d5d0 100644
--- a/src/mainboard/starlabs/lite/variants/glkr/cmos.default
+++ b/src/mainboard/starlabs/lite/variants/glkr/cmos.default
@@ -13,6 +13,7 @@ legacy_8254_timer=Disable
kbl_timeout=30 seconds
fn_ctrl_swap=Disable
fast_charge=Normal
+mirror_flag=Disable
# 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 3dfc8de03b..d53116c80b 100644
--- a/src/mainboard/starlabs/lite/variants/glkr/cmos.layout
+++ b/src/mainboard/starlabs/lite/variants/glkr/cmos.layout
@@ -29,6 +29,8 @@ entries
600 3 e 4 kbl_timeout
608 1 e 1 fn_ctrl_swap
616 1 e 11 fast_charge
+624 1 e 1 mirror_flag
+632 4 h 0 mirror_flag_counter
# coreboot config options: southbridge
800 2 e 6 power_on_after_fail