summaryrefslogtreecommitdiff
path: root/src/mainboard/starlabs
diff options
context:
space:
mode:
authorSean Rhodes <sean@starlabs.systems>2022-10-28 08:42:01 +0100
committerFelix Held <felix-coreboot@felixheld.de>2022-11-07 14:19:46 +0000
commit35354583cdc94ced026975ced5170e1c094b258e (patch)
tree1d5e5ebaa8e9c005c6a8eb559056996cc45cd733 /src/mainboard/starlabs
parentb42ca4d0b2fafe7214396d30a1a833ac33cf85bc (diff)
mb/starlabs/*: Enable the Mirror flag for boards that support it
Enable the mirror flag for CML and TGL. Signed-off-by: Sean Rhodes <sean@starlabs.systems> Change-Id: I51678bdb8d876d238076e12c6315a53c5da59628 Reviewed-on: https://review.coreboot.org/c/coreboot/+/68939 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Angel Pons <th3fanbus@gmail.com>
Diffstat (limited to 'src/mainboard/starlabs')
-rw-r--r--src/mainboard/starlabs/starbook/Kconfig2
-rw-r--r--src/mainboard/starlabs/starbook/cmos.default1
-rw-r--r--src/mainboard/starlabs/starbook/cmos.layout1
-rw-r--r--src/mainboard/starlabs/starbook/variants/tgl/cmos.default1
-rw-r--r--src/mainboard/starlabs/starbook/variants/tgl/cmos.layout1
5 files changed, 6 insertions, 0 deletions
diff --git a/src/mainboard/starlabs/starbook/Kconfig b/src/mainboard/starlabs/starbook/Kconfig
index f3f50ad1bf..0854c14bac 100644
--- a/src/mainboard/starlabs/starbook/Kconfig
+++ b/src/mainboard/starlabs/starbook/Kconfig
@@ -27,6 +27,7 @@ config BOARD_STARLABS_LABTOP_CML
select BOARD_ROMSIZE_KB_16384
select BOARD_STARLABS_STARBOOK_SERIES
select EC_STARLABS_MAX_CHARGE
+ select EC_STARLABS_MIRROR_FLAG
select EC_STARLABS_NEED_ITE_BIN
select HAVE_INTEL_PTT
select HAVE_SPD_IN_CBFS
@@ -43,6 +44,7 @@ config BOARD_STARLABS_STARBOOK_TGL
select DRIVERS_INTEL_USB4_RETIMER
select EC_STARLABS_KBL_LEVELS
select EC_STARLABS_MAX_CHARGE
+ select EC_STARLABS_MIRROR_FLAG
select EC_STARLABS_NEED_ITE_BIN
select MEMORY_MAPPED_TPM
select MAINBOARD_HAS_TPM2
diff --git a/src/mainboard/starlabs/starbook/cmos.default b/src/mainboard/starlabs/starbook/cmos.default
index f1276cc6ed..b7f77e4adc 100644
--- a/src/mainboard/starlabs/starbook/cmos.default
+++ b/src/mainboard/starlabs/starbook/cmos.default
@@ -15,6 +15,7 @@ legacy_8254_timer=Disable
# EC
kbl_timeout=30 seconds
fn_ctrl_swap=Disable
+mirror_flag=Enable
# southbridge
power_on_after_fail=Disable
# Functions
diff --git a/src/mainboard/starlabs/starbook/cmos.layout b/src/mainboard/starlabs/starbook/cmos.layout
index 887c0b21b9..8b6a463075 100644
--- a/src/mainboard/starlabs/starbook/cmos.layout
+++ b/src/mainboard/starlabs/starbook/cmos.layout
@@ -34,6 +34,7 @@ entries
608 1 e 1 fn_ctrl_swap
616 2 e 8 max_charge
624 2 e 9 fan_mode
+632 1 e 1 mirror_flag
# coreboot config options: southbridge
800 2 e 6 power_on_after_fail
diff --git a/src/mainboard/starlabs/starbook/variants/tgl/cmos.default b/src/mainboard/starlabs/starbook/variants/tgl/cmos.default
index cfc9a612fb..62bb28d411 100644
--- a/src/mainboard/starlabs/starbook/variants/tgl/cmos.default
+++ b/src/mainboard/starlabs/starbook/variants/tgl/cmos.default
@@ -16,6 +16,7 @@ thunderbolt=Disable
# EC
kbl_timeout=30 seconds
fn_ctrl_swap=Disable
+mirror_flag=Enable
# southbridge
power_on_after_fail=Disable
# Functions
diff --git a/src/mainboard/starlabs/starbook/variants/tgl/cmos.layout b/src/mainboard/starlabs/starbook/variants/tgl/cmos.layout
index c4a49c5dba..d792426dc9 100644
--- a/src/mainboard/starlabs/starbook/variants/tgl/cmos.layout
+++ b/src/mainboard/starlabs/starbook/variants/tgl/cmos.layout
@@ -35,6 +35,7 @@ entries
608 1 e 1 fn_ctrl_swap
616 2 e 8 max_charge
624 2 e 9 fan_mode
+632 1 e 1 mirror_flag
# coreboot config options: southbridge
800 2 e 6 power_on_after_fail