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>
This commit is contained in:
parent
c0646fc910
commit
e78669e7fc
|
@ -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) &&
|
||||
|
|
Loading…
Reference in New Issue