summaryrefslogtreecommitdiffstats
path: root/arch/avr32
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2012-04-04 18:53:41 +0000
committerJoe Hershberger <joe.hershberger@ni.com>2012-05-15 17:32:33 -0500
commitde30122bb58fee7b0f94bcfabab595b6ad757336 (patch)
treee109b8799a2fe97e49424bec56cbe448154d1dd4 /arch/avr32
parent50a47d0523e8efebe912bef539a77ffd42116451 (diff)
downloadblackbird-obmc-uboot-de30122bb58fee7b0f94bcfabab595b6ad757336.tar.gz
blackbird-obmc-uboot-de30122bb58fee7b0f94bcfabab595b6ad757336.zip
net: move bootfile init into eth_initialize
All arches init this the same way, so move the logic into the core net code to avoid duplicating it everywhere else. Signed-off-by: Mike Frysinger <vapier@gentoo.org> Reviewed-by: Joe Hershberger <joe.hershberger@ni.com>
Diffstat (limited to 'arch/avr32')
-rw-r--r--arch/avr32/lib/board.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/arch/avr32/lib/board.c b/arch/avr32/lib/board.c
index 3c2d0fb8b0..b390a6c8f8 100644
--- a/arch/avr32/lib/board.c
+++ b/arch/avr32/lib/board.c
@@ -327,9 +327,6 @@ void board_init_r(gd_t *new_gd, ulong dest_addr)
bb_miiphy_init();
#endif
#if defined(CONFIG_CMD_NET)
- s = getenv("bootfile");
- if (s)
- copy_filename(BootFile, s, sizeof(BootFile));
puts("Net: ");
eth_initialize(gd->bd);
#endif
OpenPOWER on IntegriCloud