From e78669e7fcbe06c0e287feb82ba4ea50b10cc634 Mon Sep 17 00:00:00 2001 From: Reka Norman Date: Wed, 30 Mar 2022 19:49:31 +1100 Subject: soc/intel/common/tcss: Check conn device enabled in tcss_get_port_info BUG=b:226848617 TEST=With the following change, the nereid C1 PMC mux conn is disabled based on fw_config, allowing HDMI to work. Signed-off-by: Reka Norman Change-Id: I487f3ca4be4ead0c5dfb46e9eb19de5ae9b9bda9 Reviewed-on: https://review.coreboot.org/c/coreboot/+/63237 Reviewed-by: Kangheui Won Reviewed-by: Eric Lai Reviewed-by: Tim Wawrzynczak Tested-by: build bot (Jenkins) --- src/soc/intel/common/block/tcss/tcss.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/soc/intel/common/block') diff --git a/src/soc/intel/common/block/tcss/tcss.c b/src/soc/intel/common/block/tcss/tcss.c index 2531ac3942..e0ca90d7e8 100644 --- a/src/soc/intel/common/block/tcss/tcss.c +++ b/src/soc/intel/common/block/tcss/tcss.c @@ -394,7 +394,7 @@ const struct tcss_port_map *tcss_get_port_info(size_t *num_ports) ARRAY_SIZE(conn_path)); unsigned int usb2_port, usb3_port; - if (!conn) + if (!is_dev_enabled(conn)) continue; if (CONFIG(DRIVERS_INTEL_PMC) && -- cgit v1.2.3