]> git.kernelconcepts.de Git - karo-tx-uboot.git/commitdiff
Blackfin: drop MAC display at boot
authorMike Frysinger <vapier@gentoo.org>
Wed, 14 Oct 2009 01:58:26 +0000 (21:58 -0400)
committerMike Frysinger <vapier@gentoo.org>
Wed, 14 Oct 2009 02:00:29 +0000 (22:00 -0400)
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>
lib_blackfin/board.c

index bf943ea7817049d9330f31af7b1af69b9bc57f52..6cade7d1102e2d968ab3148732ee33f5ea934e6f 100644 (file)
@@ -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
 }