summaryrefslogtreecommitdiff
path: root/common/cmd_fitupd.c
diff options
context:
space:
mode:
Diffstat (limited to 'common/cmd_fitupd.c')
-rw-r--r--common/cmd_fitupd.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/common/cmd_fitupd.c b/common/cmd_fitupd.c
index 7a3789e..618ff7c 100644
--- a/common/cmd_fitupd.c
+++ b/common/cmd_fitupd.c
@@ -8,13 +8,12 @@
#include <common.h>
#include <command.h>
+#include <net.h>
#if !defined(CONFIG_UPDATE_TFTP)
#error "CONFIG_UPDATE_TFTP required"
#endif
-extern int update_tftp(ulong addr);
-
static int do_fitupd(cmd_tbl_t *cmdtp, int flag, int argc, char * const argv[])
{
ulong addr = 0UL;