diff options
author | Simon Glass <sjg@chromium.org> | 2013-05-15 06:23:54 +0000 |
---|---|---|
committer | Tom Rini <trini@ti.com> | 2013-06-04 16:06:31 -0400 |
commit | ea5427e2607041f6f5cf0bff8f5c85bc7f67dbf8 (patch) | |
tree | 81b4a2ddd66a6992ef806449a916b644f53e62b5 /common/cmd_fitupd.c | |
parent | 6236fd75af89cbef173b675a96dd26da56242452 (diff) | |
download | u-boot-ea5427e2607041f6f5cf0bff8f5c85bc7f67dbf8.tar.gz |
net: Add prototype for update_tftp
This function should be declared in net.h.
Signed-off-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Joe Hershberger <joe.hershberger@ni.com>
Diffstat (limited to 'common/cmd_fitupd.c')
-rw-r--r-- | common/cmd_fitupd.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/common/cmd_fitupd.c b/common/cmd_fitupd.c index 7a3789e3ed..618ff7c8d6 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; |