Skip to content
Snippets Groups Projects
Commit d087d19a authored by Mike Frysinger's avatar Mike Frysinger
Browse files

Blackfin: drop MAC display at boot


The default Blackfin boot would display the MAC address for the first NIC,
but this relies on the environment.  The current net multi stack no longer
writes the default hardware settings to the environment, so most of the
time the display shows all zeros.  This can be pretty confusing and really
doesn't add anything useful, so just drop it.

Signed-off-by: default avatarMike Frysinger <vapier@gentoo.org>
parent 1f003cf4
No related branches found
No related tags found
No related merge requests found
...@@ -278,7 +278,6 @@ static void board_net_init_r(bd_t *bd) ...@@ -278,7 +278,6 @@ static void board_net_init_r(bd_t *bd)
bb_miiphy_init(); bb_miiphy_init();
#endif #endif
#ifdef CONFIG_CMD_NET #ifdef CONFIG_CMD_NET
uchar enetaddr[6];
char *s; char *s;
if ((s = getenv("bootfile")) != NULL) if ((s = getenv("bootfile")) != NULL)
...@@ -288,9 +287,6 @@ static void board_net_init_r(bd_t *bd) ...@@ -288,9 +287,6 @@ static void board_net_init_r(bd_t *bd)
printf("Net: "); printf("Net: ");
eth_initialize(gd->bd); eth_initialize(gd->bd);
eth_getenv_enetaddr("ethaddr", enetaddr);
printf("MAC: %pM\n", enetaddr);
#endif #endif
} }
......
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