Felix Held has submitted this change. ( https://review.coreboot.org/c/coreboot/+/63237 )
Change subject: soc/intel/common/tcss: Check conn device enabled in tcss_get_port_info ......................................................................
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 --- M src/soc/intel/common/block/tcss/tcss.c 1 file changed, 1 insertion(+), 1 deletion(-)
Approvals: build bot (Jenkins): Verified Tim Wawrzynczak: Looks good to me, approved Kangheui Won: Looks good to me, approved Eric Lai: Looks good to me, approved
diff --git a/src/soc/intel/common/block/tcss/tcss.c b/src/soc/intel/common/block/tcss/tcss.c index 2531ac3..e0ca90d 100644 --- a/src/soc/intel/common/block/tcss/tcss.c +++ b/src/soc/intel/common/block/tcss/tcss.c @@ -394,7 +394,7 @@ ARRAY_SIZE(conn_path)); unsigned int usb2_port, usb3_port;
- if (!conn) + if (!is_dev_enabled(conn)) continue;
if (CONFIG(DRIVERS_INTEL_PMC) &&