[PATCH] mmc: spl: select SPL_BLK for SPL_DM_MMC

Jaehoon Chung jh80.chung at samsung.com
Tue Oct 31 06:03:52 CET 2023


On 8/24/23 00:45, Oleksandr Suvorov wrote:
> mmc_bind() in mmc-uclass.c calls blk_create_devicef() which is
> defined in blk-uclass.c, so SPL_BLK is required by SPL_DM_MMC.
> Implicitly select SPL_BLK for SPL_DM_MMC.
> 
> Signed-off-by: Oleksandr Suvorov <oleksandr.suvorov at foundries.io>
> Reviewed-by: Tom Rini <trini at konsulko.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 de01b9687ba..d24677de076 100644
> --- a/drivers/mmc/Kconfig
> +++ b/drivers/mmc/Kconfig
> @@ -46,6 +46,7 @@ config SPL_DM_MMC
>  	depends on SPL_DM && DM_MMC
>  	default n if ARCH_MVEBU && !MVEBU_SPL_BOOT_DEVICE_MMC
>  	default y
> +	select SPL_BLK
>  	help
>  	  This enables the MultiMediaCard (MMC) uclass which supports MMC and
>  	  Secure Digital I/O (SDIO) cards. Both removable (SD, micro-SD, etc.)



More information about the U-Boot mailing list