From 77f4e477ae85e7ad229a86337a2b951aa7b48e68 Mon Sep 17 00:00:00 2001 From: Simon Glass Date: Sat, 28 Dec 2019 10:44:43 -0700 Subject: common: Move do_tftpb() to net.h This function belongs in the network header file. Move it. Signed-off-by: Simon Glass --- include/net.h | 11 +++++++++++ 1 file changed, 11 insertions(+) (limited to 'include/net.h') diff --git a/include/net.h b/include/net.h index 834f244..a8ee081 100644 --- a/include/net.h +++ b/include/net.h @@ -51,6 +51,17 @@ struct in_addr { }; /** + * do_tftpb - Run the tftpboot command + * + * @cmdtp: Command information for tftpboot + * @flag: Command flags (CMD_FLAG_...) + * @argc: Number of arguments + * @argv: List of arguments + * @return result (see enum command_ret_t) + */ +int do_tftpb(cmd_tbl_t *cmdtp, int flag, int argc, char *const argv[]); + +/** * An incoming packet handler. * @param pkt pointer to the application packet * @param dport destination UDP port -- cgit v1.1