mirror of
https://github.com/AsahiLinux/u-boot
synced 2025-02-17 22:49:02 +00:00
mmc: Parse HS400 Enhanced strobe DT properties
Add HS400 Enhanced strobe properties parsing support to mmc_of_parse(). Signed-off-by: Peng Fan <peng.fan@nxp.com> Reviewed-by: Jean-Jacques Hiblot <jjhiblot@ti.com> Cc: Marek Vasut <marek.vasut+renesas@gmail.com>
This commit is contained in:
parent
44acd49248
commit
b0fc3127bd
1 changed files with 2 additions and 0 deletions
|
@ -172,6 +172,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;
|
||||
|
|
Loading…
Add table
Reference in a new issue