]> git.sur5r.net Git - u-boot/commitdiff
net, davinci_emac: make less verbose - turn printf() into debug()
authorHeiko Schocher <hs@denx.de>
Wed, 14 Sep 2011 19:22:57 +0000 (19:22 +0000)
committerAlbert ARIBAUD <albert.u.boot@aribaud.net>
Fri, 30 Sep 2011 20:00:56 +0000 (22:00 +0200)
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>
drivers/net/davinci_emac.c

index f68bf2478f6fc0e0565d609036a4acd5d3dc3148..d58c28bca30facf59ebb8d8ffee6a60503724040 100644 (file)
@@ -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);