Partial NFS download requires setting net_boot_file_{offset,size_limit}
global variables, which are available only when CONFIG_CMD_NFS is set.
Signed-off-by: Marek Szyprowski <m.szyprowski@samsung.com>
Change-Id: I74e2dbb56c2b41078d2e5506bdcba6458299d792
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,