]> git.kernelconcepts.de Git - karo-tx-uboot.git/commitdiff
am335x: display msg when reading MAC from efuse
authorLars Poeschel <poeschel@lemonage.de>
Fri, 11 Jan 2013 00:53:32 +0000 (00:53 +0000)
committerTom Rini <trini@ti.com>
Thu, 7 Feb 2013 15:36:26 +0000 (10:36 -0500)
When ethaddr is not set in environment the MAC address is read
from efuse. The message was only printed in debug case, but this
message could be of interest for the ordinary user, so printf it.

Signed-off-by: Lars Poeschel <poeschel@lemonage.de>
board/ti/am335x/board.c

index ed4229e258d24e58584b059abbf720625ebffbc8..7332601cbc78a56a482a0072d676cc29db040652 100644 (file)
@@ -393,7 +393,7 @@ int board_eth_init(bd_t *bis)
        uint32_t mac_hi, mac_lo;
 
        if (!eth_getenv_enetaddr("ethaddr", mac_addr)) {
-               debug("<ethaddr> not set. Reading from E-fuse\n");
+               printf("<ethaddr> not set. Reading from E-fuse\n");
                /* try reading mac address from efuse */
                mac_lo = readl(&cdev->macid0l);
                mac_hi = readl(&cdev->macid0h);