[PATCH] ufs: Kconfig: use bool instead of tristate

Macpaul Lin (林智斌) Macpaul.Lin at mediatek.com
Thu May 14 04:21:45 CEST 2026


On Wed, 2026-05-13 at 09:09 -0500, David Lechner wrote:
> Change the lone use of tristate in the UFS Kconfig to bool. U-Boot
> does
> not support modules, so tristate does not make sense here.
> 
> Signed-off-by: David Lechner <dlechner at baylibre.com>
> ---
>  drivers/ufs/Kconfig | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/drivers/ufs/Kconfig b/drivers/ufs/Kconfig
> index 49472933de3..6ddf0820102 100644
> --- a/drivers/ufs/Kconfig
> +++ b/drivers/ufs/Kconfig
> @@ -24,7 +24,7 @@ config UFS_CADENCE
>  	  controller present on present TI's J721e devices.
>  
>  config UFS_MEDIATEK
> -	tristate "MediaTek UFS Host Controller Driver"
> +	bool "MediaTek UFS Host Controller Driver"
>  	depends on UFS && ARCH_MEDIATEK
>  	select PHY_MTK_UFS
>  	help
> 
> ---
> base-commit: e3e651c480c46b332f16a7555b97c6c6fd640a40
> change-id: 20260513-ufs-kconfig-no-tristate-4d93e6d9e052
> 
> Best regards,
> --  
> David Lechner <dlechner at baylibre.com>
> 

Reviewed-by: Macpaul Lin <macpaul.lin at mediatek.com>

Best regards,
Macpaul Lin


More information about the U-Boot mailing list