diff options
Diffstat (limited to 'arch/sh')
-rw-r--r-- | arch/sh/lib/board.c | 11 |
1 files changed, 2 insertions, 9 deletions
diff --git a/arch/sh/lib/board.c b/arch/sh/lib/board.c index d71cca44656..34d7881f446 100644 --- a/arch/sh/lib/board.c +++ b/arch/sh/lib/board.c @@ -190,15 +190,8 @@ void sh_generic_init(void) bb_miiphy_init(); #endif #if defined(CONFIG_CMD_NET) - { - char *s; - puts("Net: "); - eth_initialize(gd->bd); - - s = getenv("bootfile"); - if (s != NULL) - copy_filename(BootFile, s, sizeof(BootFile)); - } + puts("Net: "); + eth_initialize(gd->bd); #endif /* CONFIG_CMD_NET */ while (1) { |