]> git.kernelconcepts.de Git - karo-tx-uboot.git/blobdiff - lib_microblaze/board.c
lib_*/board.c: do not initialize bi_enet*addr in global data
[karo-tx-uboot.git] / lib_microblaze / board.c
index 30d7641868d8140b77bab31cc1f8a178ef5b8aa0..1a426400ecd7b29273883a04f8ef75fc43631e8f 100644 (file)
@@ -173,14 +173,6 @@ void board_init (void)
 #endif
 
 #if defined(CONFIG_CMD_NET)
-       /* board MAC address */
-       s = getenv ("ethaddr");
-       printf ("MAC:%s\n",s);
-       for (i = 0; i < 6; ++i) {
-               bd->bi_enetaddr[i] = s ? simple_strtoul (s, &e, 16) : 0;
-               if (s)
-                       s = (*e) ? e + 1 : e;
-       }
        /* IP Address */
        bd->bi_ip_addr = getenv_IPaddr ("ipaddr");
        eth_init (bd);