summaryrefslogtreecommitdiff
path: root/lib_sh/board.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib_sh/board.c')
-rw-r--r--lib_sh/board.c10
1 files changed, 0 insertions, 10 deletions
diff --git a/lib_sh/board.c b/lib_sh/board.c
index d4cc85cad1..2fd213ba3d 100644
--- a/lib_sh/board.c
+++ b/lib_sh/board.c
@@ -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