Commit 2d1febf7 authored by Joe Hershberger's avatar Joe Hershberger Committed by Tom Rini

net: Remove duplicate bootfile syncing functionality

The bootfile env var is already kept up to date by the callback in net.c
so there is no need to poll it too.
Signed-off-by: default avatarJoe Hershberger <>
parent c0a93440
......@@ -60,16 +60,6 @@ static inline int eth_setenv_enetaddr_by_index(const char *base_name, int index,
return eth_setenv_enetaddr(enetvar, enetaddr);
static void eth_env_init(void)
const char *s;
s = getenv("bootfile");
if (s != NULL)
copy_filename(net_boot_file_name, s,
static int eth_mac_skip(int index)
char enetvar[15];
......@@ -104,8 +94,6 @@ static void eth_common_init(void)
* If board-specific initialization exists, call it.
* If not, call a CPU-specific one
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment