diff options
author | Sean Rhodes <sean@starlabs.systems> | 2023-07-18 11:49:19 +0100 |
---|---|---|
committer | Felix Held <felix-coreboot@felixheld.de> | 2023-08-11 17:52:10 +0000 |
commit | e4fd561ab77840717c2773122e24b86f069bae4e (patch) | |
tree | bc96b99f1e5381574163e06fe9fe0d7e657e187f /src/ec | |
parent | abd561b7179bc566f8ca37952ee3d0ec2610458d (diff) | |
download | coreboot-e4fd561ab77840717c2773122e24b86f069bae4e.tar.gz coreboot-e4fd561ab77840717c2773122e24b86f069bae4e.tar.bz2 coreboot-e4fd561ab77840717c2773122e24b86f069bae4e.zip |
ec/starlabs/merlin: Change the symbol to check before mirroring
The EC should be mirrored (if it's out of date) unconditionally if
the board support Thunderbolt. Use DRIVERS_INTEL_USB4_RETIMER instead
of SOC_INTEL_COMMON_BLOCK_TCSS as it's more suitable.
Signed-off-by: Sean Rhodes <sean@starlabs.systems>
Change-Id: I27b238d4d404746c9a70bacf8e60d9e0b0e1ccca
Reviewed-on: https://review.coreboot.org/c/coreboot/+/76579
Reviewed-by: Matt DeVillier <matt.devillier@gmail.com>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Diffstat (limited to 'src/ec')
-rw-r--r-- | src/ec/starlabs/merlin/ite.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ec/starlabs/merlin/ite.c b/src/ec/starlabs/merlin/ite.c index 62210ad86325..c7a027974b4a 100644 --- a/src/ec/starlabs/merlin/ite.c +++ b/src/ec/starlabs/merlin/ite.c @@ -82,7 +82,7 @@ void ec_mirror_flag(void) uint16_t ec_version = ec_get_version(); if (CONFIG(EC_STARLABS_MIRROR_SUPPORT) && - (CONFIG(SOC_INTEL_COMMON_BLOCK_TCSS) || get_uint_option("mirror_flag", 0)) && + (CONFIG(DRIVERS_INTEL_USB4_RETIMER) || get_uint_option("mirror_flag", 0)) && (ec_version != CONFIG_EC_STARLABS_MIRROR_VERSION)) { printk(BIOS_ERR, "ITE: EC version 0x%x doesn't match coreboot version 0x%x.\n", ec_version, CONFIG_EC_STARLABS_MIRROR_VERSION); |