diff options
author | Michal Simek <michal.simek@xilinx.com> | 2016-02-08 13:54:05 +0100 |
---|---|---|
committer | Michal Simek <michal.simek@xilinx.com> | 2016-04-04 20:28:38 +0200 |
commit | ceb04e1a5d9fb956190d9f5bcc32da0f9291d416 (patch) | |
tree | 15229d726ac86c405b9330062c5ffb5f4df55284 | |
parent | a359eaa59857079678a2fa5ff0e4c0894de4ee1d (diff) | |
download | talos-obmc-uboot-ceb04e1a5d9fb956190d9f5bcc32da0f9291d416.tar.gz talos-obmc-uboot-ceb04e1a5d9fb956190d9f5bcc32da0f9291d416.zip |
net: axi_emac: Report phy-node error message permanently
Do not use debug() when printing error message. Use printf instead.
Signed-off-by: Michal Simek <michal.simek@xilinx.com>
-rw-r--r-- | drivers/net/xilinx_axi_emac.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/xilinx_axi_emac.c b/drivers/net/xilinx_axi_emac.c index 3d69bed309..5de06ef01e 100644 --- a/drivers/net/xilinx_axi_emac.c +++ b/drivers/net/xilinx_axi_emac.c @@ -715,7 +715,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; |