diff options
author | Mike Frysinger <vapier@gentoo.org> | 2012-04-04 18:53:41 (GMT) |
---|---|---|
committer | Joe Hershberger <joe.hershberger@ni.com> | 2012-05-15 22:32:33 (GMT) |
commit | de30122bb58fee7b0f94bcfabab595b6ad757336 (patch) | |
tree | e109b8799a2fe97e49424bec56cbe448154d1dd4 /arch/powerpc/lib | |
parent | 50a47d0523e8efebe912bef539a77ffd42116451 (diff) | |
download | u-boot-de30122bb58fee7b0f94bcfabab595b6ad757336.tar.xz |
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/powerpc/lib')
-rw-r--r-- | arch/powerpc/lib/board.c | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/arch/powerpc/lib/board.c b/arch/powerpc/lib/board.c index 7daffce..fea310e 100644 --- a/arch/powerpc/lib/board.c +++ b/arch/powerpc/lib/board.c @@ -932,14 +932,6 @@ void board_init_r(gd_t *id, ulong dest_addr) /* Initialize from environment */ load_addr = getenv_ulong("loadaddr", 16, load_addr); -#if defined(CONFIG_CMD_NET) - { - char *s = getenv("bootfile"); - - if (s != NULL) - copy_filename(BootFile, s, sizeof(BootFile)); - } -#endif WATCHDOG_RESET(); |