[U-Boot] [PATCH 10/10] net: Display the size when tftpboot finishes

Simon Glass sjg at chromium.org
Fri Oct 10 15:30:21 CEST 2014


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

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

 net/tftp.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/net/tftp.c b/net/tftp.c
index 966d1cf..0a2c533 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) {
-- 
2.1.0.rc2.206.gedb03e5



More information about the U-Boot mailing list