summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSean Rhodes <sean@starlabs.systems>2023-02-16 08:20:20 +0000
committerFelix Held <felix-coreboot@felixheld.de>2023-03-09 21:38:01 +0000
commit132fb3cc52884fa7634d7a9f6406eab3b4ea58d0 (patch)
tree98933bc538929fe54cfab35a1df6ddb0e71c7cf9
parent42f0396a1028fa2a81a73ff6ced36585ffe219b0 (diff)
Revert "mb/starlabs/*: Enable the Mirror flag for boards that support"
This reverts commit 35354583cdc94ced026975ced5170e1c094b258e. Reason for revert: The mirror flag "0x01" is mirror once, which relies on the EC remembering that it's been mirrored. However, the EC forgets this if it's been without power for 20 minutes or so. Even if power is connected then, it'll instantly try to mirror and it can't charge whilst doing it. It can either result in incomplete EC firmware, or a loop where it's constantly trying to mirror. Change-Id: Ie82cbafd4bea2416526e2847738802a05ed45582 Signed-off-by: Sean Rhodes <sean@starlabs.systems> Reviewed-on: https://review.coreboot.org/c/coreboot/+/72677 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Angel Pons <th3fanbus@gmail.com>
-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, 0 insertions, 6 deletions
diff --git a/src/mainboard/starlabs/starbook/Kconfig b/src/mainboard/starlabs/starbook/Kconfig
index 807b6a945a..15b2a585e2 100644
--- a/src/mainboard/starlabs/starbook/Kconfig
+++ b/src/mainboard/starlabs/starbook/Kconfig
@@ -29,7 +29,6 @@ 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
@@ -45,7 +44,6 @@ 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 SOC_INTEL_COMMON_BLOCK_TCSS
diff --git a/src/mainboard/starlabs/starbook/cmos.default b/src/mainboard/starlabs/starbook/cmos.default
index b7f77e4adc..f1276cc6ed 100644
--- a/src/mainboard/starlabs/starbook/cmos.default
+++ b/src/mainboard/starlabs/starbook/cmos.default
@@ -15,7 +15,6 @@ 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 8b6a463075..887c0b21b9 100644
--- a/src/mainboard/starlabs/starbook/cmos.layout
+++ b/src/mainboard/starlabs/starbook/cmos.layout
@@ -34,7 +34,6 @@ 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 62bb28d411..cfc9a612fb 100644
--- a/src/mainboard/starlabs/starbook/variants/tgl/cmos.default
+++ b/src/mainboard/starlabs/starbook/variants/tgl/cmos.default
@@ -16,7 +16,6 @@ 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 d792426dc9..c4a49c5dba 100644
--- a/src/mainboard/starlabs/starbook/variants/tgl/cmos.layout
+++ b/src/mainboard/starlabs/starbook/variants/tgl/cmos.layout
@@ -35,7 +35,6 @@ 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