[U-Boot] [PATCH 2/7] mmc: Parse HS400 Enhanced strobe DT properties

Jean-Jacques Hiblot jjhiblot at ti.com
Wed Jul 10 08:05:33 UTC 2019


On 10/07/2019 09:51, Peng Fan wrote:
> Add HS400 Enhanced strobe properties parsing support to mmc_of_parse().
>
> Signed-off-by: Peng Fan <peng.fan at nxp.com>
> Cc: Jean-Jacques Hiblot <jjhiblot at ti.com>
> Cc: Marek Vasut <marek.vasut+renesas at gmail.com>
> ---
>   drivers/mmc/mmc-uclass.c | 2 ++
>   1 file changed, 2 insertions(+)
>
> diff --git a/drivers/mmc/mmc-uclass.c b/drivers/mmc/mmc-uclass.c
> index bf34746404..012784f28c 100644
> --- a/drivers/mmc/mmc-uclass.c
> +++ b/drivers/mmc/mmc-uclass.c
> @@ -185,6 +185,8 @@ int mmc_of_parse(struct udevice *dev, struct mmc_config *cfg)
>   		cfg->host_caps |= MMC_CAP(MMC_HS_400);
>   	if (dev_read_bool(dev, "mmc-hs400-1_2v"))
>   		cfg->host_caps |= MMC_CAP(MMC_HS_400);
> +	if (dev_read_bool(dev, "mmc-hs400-enhanced-strobe"))
> +		cfg->host_caps |= MMC_CAP(MMC_HS_400_ES);
>   
>   	if (dev_read_bool(dev, "non-removable")) {
>   		cfg->host_caps |= MMC_CAP_NONREMOVABLE;
Reviewed-by: Jean-Jacques Hiblot <jjhiblot at ti.com>


More information about the U-Boot mailing list