[PATCH] mmc: pci: Fix Kconfig dependency

Jaehoon Chung jh80.chung at samsung.com
Tue Feb 16 00:33:11 CET 2021


On 2/15/21 9:01 PM, Bin Meng wrote:
> The PCI MMC driver depends on the generic MMC SDHCI driver,
> otherwise it does not compile.
> 
> Signed-off-by: Bin Meng <bmeng.cn at gmail.com>

Reviewed-by: Jaehoon Chung <jh80.chung at samsung.com>

Best Regards,
Jaehoon Chung

> ---
> 
>  drivers/mmc/Kconfig | 1 +
>  1 file changed, 1 insertion(+)
> 
> diff --git a/drivers/mmc/Kconfig b/drivers/mmc/Kconfig
> index f8ea921..3adee0a 100644
> --- a/drivers/mmc/Kconfig
> +++ b/drivers/mmc/Kconfig
> @@ -304,6 +304,7 @@ config MMC_MXS
>  
>  config MMC_PCI
>  	bool "Support for MMC controllers on PCI"
> +	depends on MMC_SDHCI
>  	help
>  	  This selects PCI-based MMC controllers.
>  	  If you have an MMC controller on a PCI bus, say Y here.
> 



More information about the U-Boot mailing list