[U-Boot] [PATCH 2/7] mmc: Parse HS400 Enhanced strobe DT properties
Peng Fan
peng.fan at nxp.com
Wed Jul 10 07:51:19 UTC 2019
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;
--
2.16.4
More information about the U-Boot
mailing list