summaryrefslogtreecommitdiff
path: root/src/soc/intel/common/block
diff options
context:
space:
mode:
authorReka Norman <rekanorman@google.com>2022-03-30 19:49:31 +1100
committerFelix Held <felix-coreboot@felixheld.de>2022-04-01 22:18:54 +0000
commite78669e7fcbe06c0e287feb82ba4ea50b10cc634 (patch)
treefb27fd293e838876d8d3211c2cc7a61b1bae4b44 /src/soc/intel/common/block
parentc0646fc910245f160c9fa8ab4e7991b429d84f6e (diff)
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 <rekanorman@google.com> Change-Id: I487f3ca4be4ead0c5dfb46e9eb19de5ae9b9bda9 Reviewed-on: https://review.coreboot.org/c/coreboot/+/63237 Reviewed-by: Kangheui Won <khwon@chromium.org> Reviewed-by: Eric Lai <eric_lai@quanta.corp-partner.google.com> Reviewed-by: Tim Wawrzynczak <twawrzynczak@chromium.org> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Diffstat (limited to 'src/soc/intel/common/block')
-rw-r--r--src/soc/intel/common/block/tcss/tcss.c2
1 files changed, 1 insertions, 1 deletions
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) &&