mirror of
https://xff.cz/git/u-boot/
synced 2025-10-18 08:23:24 +02:00
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>
This commit is contained in:
committed by
Joe Hershberger
parent
50a47d0523
commit
de30122bb5
@@ -188,18 +188,6 @@ int status_led_set_r(void)
|
||||
}
|
||||
#endif
|
||||
|
||||
int set_bootfile_r(void)
|
||||
{
|
||||
char *s;
|
||||
|
||||
s = getenv("bootfile");
|
||||
|
||||
if (s != NULL)
|
||||
copy_filename(BootFile, s, sizeof(BootFile));
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
||||
int set_load_addr_r(void)
|
||||
{
|
||||
/* Initialize from environment */
|
||||
|
Reference in New Issue
Block a user