[PATCH 6/6] mci: i.MX esdhc: get additional parameters from devicetree

Sascha Hauer s.hauer at pengutronix.de
Fri May 31 03:14:03 EDT 2013


Signed-off-by: Sascha Hauer <s.hauer at pengutronix.de>
---
 drivers/mci/imx-esdhc.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/drivers/mci/imx-esdhc.c b/drivers/mci/imx-esdhc.c
index 1e3b307..b1686d3 100644
--- a/drivers/mci/imx-esdhc.c
+++ b/drivers/mci/imx-esdhc.c
@@ -558,6 +558,8 @@ static int fsl_esdhc_probe(struct device_d *dev)
 		host->mci.f_min = 200000;
 	host->mci.f_max = rate;
 
+	mci_of_parse(&host->mci);
+
 	mci_register(&host->mci);
 
 	return 0;
-- 
1.8.2.rc2




More information about the barebox mailing list