From: Heiko Schocher Date: Wed, 14 Sep 2011 19:22:57 +0000 (+0000) Subject: net, davinci_emac: make less verbose - turn printf() into debug() X-Git-Tag: v2011.12-rc1~688 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=c3b4a475d7887efe1cdc8a3fe9e909df30a353f0;p=u-boot net, davinci_emac: make less verbose - turn printf() into debug() The PHY driver was too verbose and corrupted the boot message display like this: ... Net: Ethernet PHY: KSZ8873 @ 0x02 DaVinci-EMAC ... Turn printf() into debug() so we get the expected output again: ... Net: DaVinci-EMAC ... Signed-off-by: Heiko Schocher cc: Paulraj Sandeep Signed-off-by: Sandeep Paulraj --- diff --git a/drivers/net/davinci_emac.c b/drivers/net/davinci_emac.c index f68bf2478f..d58c28bca3 100644 --- a/drivers/net/davinci_emac.c +++ b/drivers/net/davinci_emac.c @@ -747,7 +747,7 @@ int davinci_emac_initialize(void) phy.auto_negotiate = gen_auto_negotiate; } - printf("Ethernet PHY: %s\n", phy.name); + debug("Ethernet PHY: %s\n", phy.name); miiphy_register(phy.name, davinci_mii_phy_read, davinci_mii_phy_write); return(1);