]> git.ipfire.org Git - thirdparty/u-boot.git/commitdiff
net: axi_emac: Report phy-node error message permanently
authorMichal Simek <michal.simek@xilinx.com>
Mon, 8 Feb 2016 12:54:05 +0000 (13:54 +0100)
committerMichal Simek <michal.simek@xilinx.com>
Wed, 10 Feb 2016 08:22:02 +0000 (09:22 +0100)
Do not use debug() when printing error message. Use printf instead.

Signed-off-by: Michal Simek <michal.simek@xilinx.com>
drivers/net/xilinx_axi_emac.c

index 81274ee13bca869567ecc3986f4f90fe8c071f7d..5620ad9dc751d42f655396490c209a382ab4caa6 100644 (file)
@@ -697,7 +697,7 @@ static int axi_emac_ofdata_to_platdata(struct udevice *dev)
        if (phy_mode)
                pdata->phy_interface = phy_get_interface_by_name(phy_mode);
        if (pdata->phy_interface == -1) {
-               debug("%s: Invalid PHY interface '%s'\n", __func__, phy_mode);
+               printf("%s: Invalid PHY interface '%s'\n", __func__, phy_mode);
                return -EINVAL;
        }
        priv->interface = pdata->phy_interface;