From: Wolfgang Denk <wd@denx.de>
Date: Sun, 24 Jul 2011 21:39:10 +0000 (+0000)
Subject: phy.c: make less verbose - turn printf() into debug()
X-Git-Tag: v2025.01-rc5-pxa1908~19112
X-Git-Url: http://git.dujemihanovic.xyz/projects?a=commitdiff_plain;h=b91a9d9d4dc81d8b62690b03546d92d27744e9b5;p=u-boot.git

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 <wd@denx.de>
Cc: Kumar Gala <galak@kernel.crashing.org>
---

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;
 }