Attention is currently required from: Tim Wawrzynczak. Michał Żygowski has uploaded this change for review. ( https://review.coreboot.org/c/coreboot/+/63501 )
Change subject: soc/intel/alderlake/retimer.c: Do not access TCSS devices on ADL-S ......................................................................
soc/intel/alderlake/retimer.c: Do not access TCSS devices on ADL-S
ADL-S does not have TCSS devices. Cut out the code for ADL-S.
Signed-off-by: Michał Żygowski michal.zygowski@3mdeb.com Change-Id: I562b7195371f87154698690362bf957881160b89 --- M src/soc/intel/alderlake/retimer.c 1 file changed, 2 insertions(+), 1 deletion(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/01/63501/1
diff --git a/src/soc/intel/alderlake/retimer.c b/src/soc/intel/alderlake/retimer.c index 3fd9c2d..561994e 100644 --- a/src/soc/intel/alderlake/retimer.c +++ b/src/soc/intel/alderlake/retimer.c @@ -7,6 +7,7 @@
int retimer_get_index_for_typec(uint8_t typec_port) { +#if !CONFIG(SOC_INTEL_ALDERLAKE_PCH_S) int ec_port = 0;
const struct device *tcss_port_arr[] = { @@ -26,7 +27,7 @@ if (is_dev_enabled(tcss_port_arr[i])) ec_port++; } - +#endif // Code should not come here if typec_port input is correct return -1; }