mirror of
https://github.com/Fishwaldo/u-boot.git
synced 2025-03-21 06:31:31 +00:00
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>
This commit is contained in:
parent
a359eaa598
commit
ceb04e1a5d
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Reference in a new issue