soc/intel/alderlake: Sync UPD Usb4CmMode with Kconfig

The ACPI is adjusted based on SOFTWARE_CONNECTION_MANAGER, so set
the UPD to match this to avoid the connection type being mismatched.

If it's mismatched, the TBT port will time out.

Signed-off-by: Sean Rhodes <sean@starlabs.systems>
Change-Id: I8a99db165301ce08caf55aac0e33ca1994559d62
Reviewed-on: https://review.coreboot.org/c/coreboot/+/80486
Reviewed-by: Subrata Banik <subratabanik@google.com>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Matt DeVillier <matt.devillier@gmail.com>
Reviewed-by: Kapil Porwal <kapilporwal@google.com>
This commit is contained in:
Sean Rhodes 2023-08-30 13:14:21 +01:00 committed by Felix Held
parent b8f49c6d38
commit fb401e74da

View File

@ -679,6 +679,10 @@ static void fill_fsps_tcss_params(FSP_S_CONFIG *s_cfg,
if (is_dev_enabled(tcss_port_arr[i]))
s_cfg->UsbTcPortEn |= BIT(i);
}
#if !CONFIG(SOC_INTEL_ALDERLAKE_PCH_M)
s_cfg->Usb4CmMode = CONFIG(SOFTWARE_CONNECTION_MANAGER);
#endif
}
static void fill_fsps_chipset_lockdown_params(FSP_S_CONFIG *s_cfg,