Add HS400 Enhanced strobe properties parsing support to mmc_of_parse().

Signed-off-by: Peng Fan <peng....@nxp.com>
Cc: Jean-Jacques Hiblot <jjhib...@ti.com>
Cc: Marek Vasut <marek.vasut+rene...@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;
-- 
2.16.4

_______________________________________________
U-Boot mailing list
U-Boot@lists.denx.de
https://lists.denx.de/listinfo/u-boot

Reply via email to