[PATCH] mci: omap: Add devicetree options parsing by MCI core.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



This patch adds a callback to parsing devicetree options for MMC:
bus-width, etc..

Signed-off-by: Alexander Shiyan <shc_work@xxxxxxx>
---
 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


_______________________________________________
barebox mailing list
barebox@xxxxxxxxxxxxxxxxxxx
http://lists.infradead.org/mailman/listinfo/barebox



[Index of Archives]     [Linux Embedded]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [XFree86]

  Powered by Linux