Merge tag 'u-boot-imx-20200825' of https://gitlab.denx.de/u-boot/custodians/u-boot-imx
[platform/kernel/u-boot.git] / drivers / phy / phy-mtk-tphy.c
index 326227a..3d7b9cd 100644 (file)
@@ -698,11 +698,10 @@ static int mtk_tphy_probe(struct udevice *dev)
        tphy->dev = dev;
        tphy->version = dev_get_driver_data(dev);
 
-       /* v1 has shared banks */
+       /* v1 has shared banks for usb/pcie mode, */
+       /* but not for sata mode */
        if (tphy->version == MTK_TPHY_V1) {
                tphy->sif_base = dev_read_addr_ptr(dev);
-               if (!tphy->sif_base)
-                       return -ENOENT;
        }
 
        dev_for_each_subnode(subnode, dev) {