aboutsummaryrefslogtreecommitdiffstats
path: root/lib_blackfin
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2009-10-13 21:58:26 -0400
committerMike Frysinger <vapier@gentoo.org>2009-10-13 22:00:29 -0400
commitd087d19a994e741f0ce526124be117c90be482ae (patch)
treec3f9dcda891b4e4baa3fc288d1093059c1e4e231 /lib_blackfin
parent1f003cf4738a199d99c818124784058526d2d40e (diff)
downloadu-boot-midas-d087d19a994e741f0ce526124be117c90be482ae.tar.gz
u-boot-midas-d087d19a994e741f0ce526124be117c90be482ae.tar.bz2
u-boot-midas-d087d19a994e741f0ce526124be117c90be482ae.zip
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: Mike Frysinger <vapier@gentoo.org>
Diffstat (limited to 'lib_blackfin')
-rw-r--r--lib_blackfin/board.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/lib_blackfin/board.c b/lib_blackfin/board.c
index bf943ea781..6cade7d110 100644
--- a/lib_blackfin/board.c
+++ b/lib_blackfin/board.c
@@ -278,7 +278,6 @@ static void board_net_init_r(bd_t *bd)
bb_miiphy_init();
#endif
#ifdef CONFIG_CMD_NET
- uchar enetaddr[6];
char *s;
if ((s = getenv("bootfile")) != NULL)
@@ -288,9 +287,6 @@ static void board_net_init_r(bd_t *bd)
printf("Net: ");
eth_initialize(gd->bd);
-
- eth_getenv_enetaddr("ethaddr", enetaddr);
- printf("MAC: %pM\n", enetaddr);
#endif
}