Add missing read of "cd_inverted" property in DT.

Signed-off-by: Patrice Chotard <patrice.chot...@st.com>
---

 drivers/mmc/arm_pl180_mmci.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/drivers/mmc/arm_pl180_mmci.c b/drivers/mmc/arm_pl180_mmci.c
index 29a05ea0c39a..7341f2f78581 100644
--- a/drivers/mmc/arm_pl180_mmci.c
+++ b/drivers/mmc/arm_pl180_mmci.c
@@ -447,6 +447,7 @@ static int arm_pl180_mmc_probe(struct udevice *dev)
                            SDI_CLKCR_HWFC_EN;
        host->clock_in = clk_get_rate(&clk);
        host->version2 = dev_get_driver_data(dev);
+       host->cd_inverted = dev_read_bool(dev, "cd-inverted");
 
        cfg->name = dev->name;
        cfg->voltages = VOLTAGE_WINDOW_SD;
-- 
1.9.1

_______________________________________________
U-Boot mailing list
U-Boot@lists.denx.de
https://lists.denx.de/listinfo/u-boot

Reply via email to