From: Lars Poeschel Date: Fri, 11 Jan 2013 00:53:32 +0000 (+0000) Subject: am335x: display msg when reading MAC from efuse X-Git-Tag: v2013.04-rc1~48^2~24 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=3ec36b34fea10c793f6f41859cfcff083d6ee8a3;p=u-boot am335x: display msg when reading MAC from efuse 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 --- diff --git a/board/ti/am335x/board.c b/board/ti/am335x/board.c index ed4229e258..7332601cbc 100644 --- a/board/ti/am335x/board.c +++ b/board/ti/am335x/board.c @@ -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(" not set. Reading from E-fuse\n"); + printf(" not set. Reading from E-fuse\n"); /* try reading mac address from efuse */ mac_lo = readl(&cdev->macid0l); mac_hi = readl(&cdev->macid0h);