Remy Bohmer wrote:
> Signed-off-by: Remy Bohmer <li...@bohmer.net>
> ---
>  net/tftp.c |   32 +++++++++++++++++++++++++++++---
>  1 files changed, 29 insertions(+), 3 deletions(-)
>
> diff --git a/net/tftp.c b/net/tftp.c
> index cc60a3b..d254f49 100644
> --- a/net/tftp.c
> +++ b/net/tftp.c
> @@ -47,6 +47,16 @@ static int TftpTimeoutCountMax = TIMEOUT_COUNT;
>  ulong TftpRRQTimeoutMSecs = TIMEOUT;
>  int TftpRRQTimeoutCountMax = TIMEOUT_COUNT;
>  
> +enum {
> +     TFTP_ERR_UNDEFINED           = 0,
> +     TFTP_ERR_FILE_NOT_FOUND      = 1,
> +     TFTP_ERR_ACCESS_DENIED       = 2,
> +     TFTP_ERR_DISK_FULL           = 3,
> +     TFTP_ERR_UNEXPECTED_OPCODE   = 4,
> +     TFT_ERR_UNKNOWN_TRANSFER_ID  = 5,
>   
Applied to net/next after fixing typo in last enum

regards,
Ben
_______________________________________________
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot

Reply via email to