net: fix build without NFS or NFS download enabled 71/233571/5
authorMarek Szyprowski <m.szyprowski@samsung.com>
Fri, 15 May 2020 10:08:54 +0000 (12:08 +0200)
committerSeung-Woo Kim <sw0312.kim@samsung.com>
Fri, 22 May 2020 01:50:11 +0000 (10:50 +0900)
commit749a8dcddcd540e8c0ba7e73f18a5bc4b907d800
treea73bc2553e571331197afb0b2b1575914ec27e3e
parent6954c11ab001750b3eed57b320908c411aecb82a
net: fix build without NFS or NFS download enabled

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
cmd/net.c