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>
master
Simon Glass 10 years ago
parent c0561d14c5
commit 8104f54629
  1. 2
      net/tftp.c

@ -299,6 +299,8 @@ static void tftp_complete(void)
putc('#'); putc('#');
TftpNumchars++; TftpNumchars++;
} }
puts(" ");
print_size(TftpTsize, "");
#endif #endif
time_start = get_timer(time_start); time_start = get_timer(time_start);
if (time_start > 0) { if (time_start > 0) {

Loading…
Cancel
Save