[U-Boot] [PATCH 2/5] mmc: dm: support "mmc-ddr-1_2v" and "mmc-hs200-1_2v" boolean properties

Lukasz Majewski lukma at denx.de
Wed Nov 22 09:08:22 UTC 2017


On Tue, 21 Nov 2017 16:13:05 +0100
Jean-Jacques Hiblot <jjhiblot at ti.com> wrote:

> Signed-off-by: Jean-Jacques Hiblot <jjhiblot at ti.com>
> ---
>  drivers/mmc/mmc-uclass.c | 4 ++++
>  1 file changed, 4 insertions(+)
> 
> diff --git a/drivers/mmc/mmc-uclass.c b/drivers/mmc/mmc-uclass.c
> index 48fafce..9723129 100644
> --- a/drivers/mmc/mmc-uclass.c
> +++ b/drivers/mmc/mmc-uclass.c
> @@ -161,8 +161,12 @@ int mmc_of_parse(const void *fdt, int node,
> struct mmc_config *cfg) cfg->host_caps |= MMC_CAP(UHS_DDR50);
>  	if (fdtdec_get_bool(fdt, node, "mmc-ddr-1_8v"))
>  		cfg->host_caps |= MMC_CAP(MMC_DDR_52);
> +	if (fdtdec_get_bool(fdt, node, "mmc-ddr-1_2v"))
> +		cfg->host_caps |= MMC_CAP(MMC_DDR_52);
>  	if (fdtdec_get_bool(fdt, node, "mmc-hs200-1_8v"))
>  		cfg->host_caps |= MMC_CAP(MMC_HS_200);
> +	if (fdtdec_get_bool(fdt, node, "mmc-hs200-1_2v"))
> +		cfg->host_caps |= MMC_CAP(MMC_HS_200);
>  
>  	return 0;
>  }

Reviewed-by: Lukasz Majewski <lukma at denx.de>

Best regards,

Lukasz Majewski

--

DENX Software Engineering GmbH,      Managing Director: Wolfgang Denk
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 488 bytes
Desc: OpenPGP digital signature
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20171122/a752232a/attachment.sig>


More information about the U-Boot mailing list