[U-Boot] [PATCH V2 2/7] mmc: Parse HS400 Enhanced strobe DT properties
Peng Fan
peng.fan at nxp.com
Wed Jul 10 09:35:18 UTC 2019
Add HS400 Enhanced strobe properties parsing support to mmc_of_parse().
Signed-off-by: Peng Fan <peng.fan at nxp.com>
Reviewed-by: Jean-Jacques Hiblot <jjhiblot at ti.com>
Cc: Marek Vasut <marek.vasut+renesas at gmail.com>
---
V2:
Add R-b tag
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 890b380f1f..528e7671d4 100644
--- a/drivers/mmc/mmc-uclass.c
+++ b/drivers/mmc/mmc-uclass.c
@@ -187,6 +187,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
More information about the U-Boot
mailing list