ulong addr;
net_boot_file_name_explicit = false;
+#if defined(CONFIG_CMD_NFS)
net_boot_file_offset = 0;
net_boot_file_size_limit = 0;
+#endif
/* pre-set image_load_addr */
s = env_get("loadaddr");
return rcode;
}
+#if defined(CONFIG_CMD_NFS_DOWNLOAD)
int netboot_nfs(unsigned long addr, const char *filename,
unsigned long offset, unsigned long limit)
{
bootstage_error(BOOTSTAGE_ID_NET_DONE_ERR);
return rcode;
}
-
+#endif
#if defined(CONFIG_CMD_PING)
static int do_ping(struct cmd_tbl *cmdtp, int flag, int argc,