summaryrefslogtreecommitdiff
path: root/cmd/elf.c
diff options
context:
space:
mode:
Diffstat (limited to 'cmd/elf.c')
-rw-r--r--cmd/elf.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/cmd/elf.c b/cmd/elf.c
index 114f2caf7fa..6b49c613703 100644
--- a/cmd/elf.c
+++ b/cmd/elf.c
@@ -133,7 +133,7 @@ int do_bootvx(struct cmd_tbl *cmdtp, int flag, int argc, char *const argv[])
else
addr = hextoul(argv[1], NULL);
-#if defined(CONFIG_CMD_NET)
+#if defined(CONFIG_CMD_NET) && !defined(CONFIG_NET_LWIP)
/*
* Check to see if we need to tftp the image ourselves
* before starting