]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
phy: comphy_a3700: Change SD/MMC compatible DT node to match the updates
authorStefan Roese <sr@denx.de>
Thu, 12 Jan 2017 15:37:49 +0000 (16:37 +0100)
committerStefan Roese <sr@denx.de>
Wed, 1 Feb 2017 07:50:42 +0000 (08:50 +0100)
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 <sr@denx.de>
Cc: Kostya Porotchkin <kostap@marvell.com>
Cc: Nadav Haklai <nadavh@marvell.com>
Reviewed-by: Jaehoon Chung <jh80.chung@samsung.com>
drivers/phy/marvell/comphy_a3700.c

index faa62f90ae2b4005c11721e9a917420d7f261cfc..5afd23c052743a73058148587a86c39d6fcb03f4 100644 (file)
@@ -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) {