From: Wolfgang Denk Date: Sun, 24 Jul 2011 21:39:10 +0000 (+0000) Subject: phy.c: make less verbose - turn printf() into debug() X-Git-Tag: v2011.09-rc1~71 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=b91a9d9d4dc81d8b62690b03546d92d27744e9b5;p=u-boot phy.c: make less verbose - turn printf() into debug() The PHY driver was too verbose and corrupted the boot message display like this: ... Net: TSEC0 connected to Marvell 88E1111S TSEC1 connected to Marvell 88E1111S TSEC0, TSEC1 ... Turn printf() into debug() so we het the expected output again: ... Net: TSEC0, TSEC1 ... Signed-off-by: Wolfgang Denk Cc: Kumar Gala --- diff --git a/drivers/net/phy/phy.c b/drivers/net/phy/phy.c index c7edcc0909..ce69c19536 100644 --- a/drivers/net/phy/phy.c +++ b/drivers/net/phy/phy.c @@ -714,7 +714,7 @@ struct phy_device *phy_connect(struct mii_dev *bus, int addr, phydev->dev = dev; - printf("%s connected to %s\n", dev->name, phydev->drv->name); + debug("%s connected to %s\n", dev->name, phydev->drv->name); return phydev; }