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>
This commit is contained in:
parent
c0561d14c5
commit
8104f54629
|
|
@ -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…
Reference in New Issue