From: Simon Glass <sjg@chromium.org>
Date: Fri, 10 Oct 2014 13:30:21 +0000 (-0600)
Subject: net: Display the size when tftpboot finishes
X-Git-Tag: v2025.01-rc5-pxa1908~14531^2
X-Git-Url: http://git.dujemihanovic.xyz/login.html?a=commitdiff_plain;h=8104f546296a8e1fc1dd6129041e22f508b314f9;p=u-boot.git

net: Display the size when tftpboot finishes

If we know the file size, display it after loading the file.

Signed-off-by: Simon Glass <sjg@chromium.org>
---

diff --git a/net/tftp.c b/net/tftp.c
index 966d1cfba3..0a2c53302c 100644
--- a/net/tftp.c
+++ b/net/tftp.c
@@ -299,6 +299,8 @@ static void tftp_complete(void)
 		putc('#');
 		TftpNumchars++;
 	}
+	puts("  ");
+	print_size(TftpTsize, "");
 #endif
 	time_start = get_timer(time_start);
 	if (time_start > 0) {