net: eth-phy: Demote missing phy-handle log message to debug

Reduce the missing phy-handle log message to debug message. It is
possible for ethernet DT node to have no phy-handle e.g. in case
of a fixed-link connection. Furthermore, drop the FEC: prefix,
which is a copy-paste error and rather print the ethernet device
name.

Signed-off-by: Marek Vasut <marex@denx.de>
Cc: Ramon Fried <rfried.dev@gmail.com>
Reviewed-by: Ramon Fried <rfried.dev@gmail.com>
This commit is contained in:
Marek Vasut 2022-01-01 20:12:23 +01:00 committed by Ramon Fried
parent f3e22eea81
commit 766ba78375

View File

@ -103,7 +103,7 @@ struct mii_dev *eth_phy_get_mdio_bus(struct udevice *eth_dev)
return uc_priv->mdio_bus; return uc_priv->mdio_bus;
} }
} else { } else {
log_notice("FEC: can't find phy-handle\n"); log_debug("Can't find phy-handle for %s\n", eth_dev->name);
} }
return NULL; return NULL;