Skip to content
Snippets Groups Projects
Commit 3ec36b34 authored by Lars Poeschel's avatar Lars Poeschel Committed by Tom Rini
Browse files

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: default avatarLars Poeschel <poeschel@lemonage.de>
parent 1c1b7c37
No related branches found
No related tags found
No related merge requests found
......@@ -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);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment