Parcourir la source

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>
Simon Glass il y a 10 ans
Parent
commit
8104f54629
1 fichiers modifiés avec 2 ajouts et 0 suppressions
  1. 2 0
      net/tftp.c

+ 2 - 0
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) {