]> git.sur5r.net Git - u-boot/commitdiff
phy.c: make less verbose - turn printf() into debug()
authorWolfgang Denk <wd@denx.de>
Sun, 24 Jul 2011 21:39:10 +0000 (21:39 +0000)
committerWolfgang Denk <wd@denx.de>
Wed, 31 Aug 2011 20:35:27 +0000 (22:35 +0200)
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 <wd@denx.de>
Cc: Kumar Gala <galak@kernel.crashing.org>
drivers/net/phy/phy.c

index c7edcc09097b00e32c709e3328a2cccb93c31e26..ce69c195368c045f5b2f02acc93be47710ee627a 100644 (file)
@@ -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;
 }