From 5de0897671f0c93815ed9de38fc720337e9dade6 Mon Sep 17 00:00:00 2001 From: Tim Wawrzynczak Date: Wed, 24 Mar 2021 09:59:51 -0600 Subject: [PATCH] soc/intel/common/tcss: Rename TCSS_DISPLAY This name isn't very meaningful, rename the config option to ENABLE_TCSS_DISPLAY_DETECTION to make its meaning more obvious. Change-Id: Ib21a3b5a37d25f93bd515f8c6e5ad39c9d2ea1c4 Signed-off-by: Tim Wawrzynczak Reviewed-on: https://review.coreboot.org/c/coreboot/+/51771 Reviewed-by: Angel Pons Reviewed-by: Furquan Shaikh Tested-by: build bot (Jenkins) --- src/soc/intel/common/block/tcss/Kconfig | 4 ++-- src/soc/intel/common/block/tcss/tcss.c | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/soc/intel/common/block/tcss/Kconfig b/src/soc/intel/common/block/tcss/Kconfig index f35390178e..3eb0931611 100644 --- a/src/soc/intel/common/block/tcss/Kconfig +++ b/src/soc/intel/common/block/tcss/Kconfig @@ -3,8 +3,8 @@ config SOC_INTEL_COMMON_BLOCK_TCSS help Sets up USB2/3 port mapping in TCSS MUX and sets MUX to disconnect state -config TCSS_DISPLAY - bool "Enable early TCSS display" +config ENABLE_TCSS_DISPLAY_DETECTION + bool "Enable detection of displays over USB Type-C ports with TCSS" depends on SOC_INTEL_COMMON_BLOCK_TCSS && RUN_FSP_GOP help Enable displays to be detected over Type-C ports during boot. diff --git a/src/soc/intel/common/block/tcss/tcss.c b/src/soc/intel/common/block/tcss/tcss.c index 97805f55e6..6d1f3afd26 100644 --- a/src/soc/intel/common/block/tcss/tcss.c +++ b/src/soc/intel/common/block/tcss/tcss.c @@ -320,6 +320,6 @@ void tcss_configure(void) for (i = 0; i < num_ports; i++) tcss_init_mux(i, &port_map[i]); - if (CONFIG(TCSS_DISPLAY)) + if (CONFIG(ENABLE_TCSS_DISPLAY_DETECTION)) tcss_configure_dp_mode(port_map, num_ports); }