[PATCH] mmc: Parse new binding for eMMC fixed driver type

Peng Fan peng.fan at nxp.com
Tue Jul 14 09:51:43 CEST 2020


> Subject: [PATCH] mmc: Parse new binding for eMMC fixed driver type
> 
> Parse the new binding and store it in the mmc config struct after doing some
> sanity checks. The code is designed to support fixed mmc driver type if we
> ever need that.
> 
> Signed-off-by: Shunsuke Tokumoto <s-tokumoto at fujitsu.com>
> Signed-off-by: Yasushi Iida <yasushi.iida at fujitsu.com>
> ---
>  drivers/mmc/mmc-uclass.c | 30 ++++++++++++++++++++++++++++++
>  drivers/mmc/mmc.c        |  8 ++++++++
>  include/mmc.h            |  3 +++
>  3 files changed, 41 insertions(+)
> 
> diff --git a/drivers/mmc/mmc-uclass.c b/drivers/mmc/mmc-uclass.c index
> c5b7872900..e67aae451f 100644
> --- a/drivers/mmc/mmc-uclass.c
> +++ b/drivers/mmc/mmc-uclass.c
> @@ -162,6 +162,36 @@ int dm_mmc_deferred_probe(struct udevice *dev)
>  	if (ops->deferred_probe)
>  		return ops->deferred_probe(dev);
> 
> +	/* Check eMMC driver type selection */
> +	val = dev_read_u32_default(dev, "fixed-emmc-driver-type", 0);

Has the bindings been accepted by Linux Kernel?

Regards,
Peng.


More information about the U-Boot mailing list