]> git.sur5r.net Git - u-boot/blobdiff - lib_sh/board.c
sf: set common timeouts in seconds, not milliseconds
[u-boot] / lib_sh / board.c
index d4cc85cad140faf58a95f9b38c3bbada2667ea27..2fd213ba3dd1fd7c4aae3c766ab239535ee2bc37 100644 (file)
@@ -125,17 +125,7 @@ static int sh_mem_env_init(void)
 static int sh_net_init(void)
 {
        DECLARE_GLOBAL_DATA_PTR;
-       char *s, *e;
-       int i;
-
        gd->bd->bi_ip_addr = getenv_IPaddr("ipaddr");
-       s = getenv("ethaddr");
-       for (i = 0; i < 6; ++i) {
-               gd->bd->bi_enetaddr[i] = s ? simple_strtoul(s, &e, 16) : 0;
-               if (s)
-                       s = (*e) ? e + 1 : e;
-       }
-
        return 0;
 }
 #endif