From: Stefan Mavrodiev Date: Mon, 4 Nov 2019 11:43:14 +0200 Subject: [U-Boot] [PATCH 1/1] net: sun8i_emac: Remove debug message Message-ID: <20191104094314.13988-1-stefan@olimex.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de When booting with sun8i_emac driver, the user get output like this: ... Net: phy interface7 eth0: ethernet at 1c30000 ... The first line doesn't provide any useful information except for the developers. I guess this is some leftover debugging message. This patch change it to such. The new output is: ... Net: eth0: ethernet at 1c30000 ... Signed-off-by: Stefan Mavrodiev --- drivers/net/sun8i_emac.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/net/sun8i_emac.c b/drivers/net/sun8i_emac.c index 0629b16e57..e6cb074bc4 100644 --- a/drivers/net/sun8i_emac.c +++ b/drivers/net/sun8i_emac.c @@ -968,7 +968,7 @@ static int sun8i_emac_eth_ofdata_to_platdata(struct udevice *dev) if (phy_mode) pdata->phy_interface = phy_get_interface_by_name(phy_mode); - printf("phy interface%d\n", pdata->phy_interface); + debug("phy interface%d\n", pdata->phy_interface); if (pdata->phy_interface == -1) { debug("%s: Invalid PHY interface '%s'\n", __func__, phy_mode); -- 2.17.1