summaryrefslogtreecommitdiff
path: root/include/net.h
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2013-05-15 06:23:54 +0000
committerTom Rini <trini@ti.com>2013-06-04 16:06:31 -0400
commitea5427e2607041f6f5cf0bff8f5c85bc7f67dbf8 (patch)
tree81b4a2ddd66a6992ef806449a916b644f53e62b5 /include/net.h
parent6236fd75af89cbef173b675a96dd26da56242452 (diff)
downloadu-boot-imx-ea5427e2607041f6f5cf0bff8f5c85bc7f67dbf8.zip
u-boot-imx-ea5427e2607041f6f5cf0bff8f5c85bc7f67dbf8.tar.gz
u-boot-imx-ea5427e2607041f6f5cf0bff8f5c85bc7f67dbf8.tar.bz2
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 'include/net.h')
-rw-r--r--include/net.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/net.h b/include/net.h
index 970d4d1..23fb947 100644
--- a/include/net.h
+++ b/include/net.h
@@ -695,6 +695,9 @@ extern void copy_filename(char *dst, const char *src, int size);
/* get a random source port */
extern unsigned int random_port(void);
+/* Update U-Boot over TFTP */
+extern int update_tftp(ulong addr);
+
/**********************************************************************/
#endif /* __NET_H__ */