diff options
Diffstat (limited to 'lib_microblaze/board.c')
-rw-r--r-- | lib_microblaze/board.c | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/lib_microblaze/board.c b/lib_microblaze/board.c index 30d7641..1a42640 100644 --- a/lib_microblaze/board.c +++ b/lib_microblaze/board.c @@ -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); |