Now that the SD/SDIO/MMC DT properties are updated in the Marvell
A3700 and A7/8k DT files, we need to match the checks for compatible
node in the PHY driver as well.

Signed-off-by: Stefan Roese <s...@denx.de>
Cc: Kostya Porotchkin <kos...@marvell.com>
Cc: Nadav Haklai <nad...@marvell.com>
---
 drivers/phy/marvell/comphy_a3700.c | 7 +++----
 1 file changed, 3 insertions(+), 4 deletions(-)

diff --git a/drivers/phy/marvell/comphy_a3700.c 
b/drivers/phy/marvell/comphy_a3700.c
index faa62f90ae..5afd23c052 100644
--- a/drivers/phy/marvell/comphy_a3700.c
+++ b/drivers/phy/marvell/comphy_a3700.c
@@ -884,11 +884,10 @@ void comphy_dedicated_phys_init(void)
        }
 
        node = fdt_node_offset_by_compatible(blob, -1,
-                                            "marvell,armada-3700-sdio");
+                                            "marvell,armada-8k-sdhci");
        if (node <= 0) {
-               debug("No SDIO node in DT, looking for MMC one\n");
-               node = fdt_node_offset_by_compatible(blob, -1,
-                                                    "marvell,xenon-sdhci");
+               node = fdt_node_offset_by_compatible(
+                       blob, -1, "marvell,armada-3700-sdhci");
        }
 
        if (node > 0) {
-- 
2.11.0

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

Reply via email to