net: sun8i-emac: Downgrade printf in probe to debug

Signed-off-by: Samuel Holland <samuel@sholland.org>
This commit is contained in:
Samuel Holland 2021-09-11 23:48:00 -05:00
parent 06522d448e
commit d8d52c48b9

View File

@ -860,7 +860,7 @@ static int sun8i_emac_eth_of_to_plat(struct udevice *dev)
priv->phyaddr = fdtdec_get_int(gd->fdt_blob, offset, "reg", -1);
pdata->phy_interface = dev_read_phy_mode(dev);
printf("phy interface%d\n", pdata->phy_interface);
debug("phy interface %d\n", pdata->phy_interface);
if (pdata->phy_interface == PHY_INTERFACE_MODE_NA)
return -EINVAL;