diff options
Diffstat (limited to 'include')
| -rw-r--r-- | include/net-common.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/include/net-common.h b/include/net-common.h index 78d98e5bba0..f5cff3e7c0c 100644 --- a/include/net-common.h +++ b/include/net-common.h @@ -491,6 +491,15 @@ int dhcp_run(ulong addr, const char *fname, bool autoload); int do_dhcp(struct cmd_tbl *cmdtp, int flag, int argc, char *const argv[]); /** + * tftpb_run() - Run TFTP on the current ethernet device + * + * @addr: Address to load the file into + * @fname: Filename of file to load (NULL to use the default filename) + * @return 0 if OK, -ENOENT if ant file was not found + */ +int tftpb_run(ulong addr, const char *fname); + +/** * do_ping - Run the ping command * * @cmdtp: Unused |
