projects
/
project
/
bcm63xx
/
u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f58d677
)
mmc: Parse HS400 DT properties
author
Marek Vasut
<
[email protected]
>
Wed, 13 Jun 2018 04:50:16 +0000
(06:50 +0200)
committer
Marek Vasut
<
[email protected]
>
Mon, 3 Dec 2018 11:51:16 +0000
(12:51 +0100)
Add HS400 properties parsing support to mmc_of_parse().
Signed-off-by: Marek Vasut <
[email protected]
>
Cc: Bin Meng <
[email protected]
>
Cc: Jaehoon Chung <
[email protected]
>
Cc: Jean-Jacques Hiblot <
[email protected]
>
Cc: Kishon Vijay Abraham I <
[email protected]
>
Cc: Peng Fan <
[email protected]
>
Cc: Simon Glass <
[email protected]
>
drivers/mmc/mmc-uclass.c
patch
|
blob
|
history
diff --git
a/drivers/mmc/mmc-uclass.c
b/drivers/mmc/mmc-uclass.c
index f73f07254be664cdd5bd5c053b208c57cff47c0e..76225b7939bb06c3e761752d0b6e156d8c7e1d46 100644
(file)
--- a/
drivers/mmc/mmc-uclass.c
+++ b/
drivers/mmc/mmc-uclass.c
@@
-166,6
+166,10
@@
int mmc_of_parse(struct udevice *dev, struct mmc_config *cfg)
cfg->host_caps |= MMC_CAP(MMC_HS_200);
if (dev_read_bool(dev, "mmc-hs200-1_2v"))
cfg->host_caps |= MMC_CAP(MMC_HS_200);
+ if (dev_read_bool(dev, "mmc-hs400-1_8v"))
+ 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);
return 0;
}