summaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorHeiko Schocher <hs@denx.de>2011-09-14 19:22:57 +0000
committerAlbert ARIBAUD <albert.u.boot@aribaud.net>2011-09-30 22:00:56 +0200
commitc3b4a475d7887efe1cdc8a3fe9e909df30a353f0 (patch)
treee495d2cb09195774995868a98a3cd0ec4cd82e83 /drivers
parent4f3c42aca423d1e05319edbee17dfe1a55a2bfbb (diff)
downloadblackbird-obmc-uboot-c3b4a475d7887efe1cdc8a3fe9e909df30a353f0.tar.gz
blackbird-obmc-uboot-c3b4a475d7887efe1cdc8a3fe9e909df30a353f0.zip
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 <hs@denx.de> cc: Paulraj Sandeep <s-paulraj@ti.com> Signed-off-by: Sandeep Paulraj <s-paulraj@ti.com>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/net/davinci_emac.c2
1 files changed, 1 insertions, 1 deletions
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);
OpenPOWER on IntegriCloud