[PATCH] mci: omap: Add devicetree options parsing by MCI core.
Alexander Shiyan
shc_work at mail.ru
Wed Dec 28 23:05:46 PST 2016
This patch adds a callback to parsing devicetree options for MMC:
bus-width, etc..
Signed-off-by: Alexander Shiyan <shc_work at mail.ru>
---
drivers/mci/omap_hsmmc.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/drivers/mci/omap_hsmmc.c b/drivers/mci/omap_hsmmc.c
index 180afb1..cbc69e4 100644
--- a/drivers/mci/omap_hsmmc.c
+++ b/drivers/mci/omap_hsmmc.c
@@ -631,6 +631,8 @@ static int omap_mmc_probe(struct device_d *dev)
hsmmc->mci.devname = xstrdup(alias);
}
+ mci_of_parse(&hsmmc->mci);
+
dev->priv = hsmmc;
dev->detect = omap_mmc_detect,
--
2.4.9
More information about the barebox
mailing list