From: Samuel Holland Date: Fri, 15 Jul 2022 05:20:56 +0000 (-0500) Subject: net: sun8i-emac: Downgrade printf during probe to debug X-Git-Url: http://git.dujemihanovic.xyz/?a=commitdiff_plain;h=62ee043325a3f282ddb4e4a15c555b810f094b76;p=u-boot.git net: sun8i-emac: Downgrade printf during probe to debug This just prints the PHY mode taken from the devicetree. It does not need to be printed during every boot, and also avoids an unwanted line break for the "net: " reporting line. Signed-off-by: Samuel Holland Reviewed-by: Andre Przywara Signed-off-by: Andre Przywara --- diff --git a/drivers/net/sun8i_emac.c b/drivers/net/sun8i_emac.c index 2220f84b69..a4b3492b76 100644 --- a/drivers/net/sun8i_emac.c +++ b/drivers/net/sun8i_emac.c @@ -857,7 +857,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;