projects
/
oweals
/
u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c0561d1
)
net: Display the size when tftpboot finishes
author
Simon Glass
<sjg@chromium.org>
Fri, 10 Oct 2014 13:30:21 +0000
(07:30 -0600)
committer
Simon Glass
<sjg@chromium.org>
Thu, 23 Oct 2014 03:50:33 +0000
(21:50 -0600)
If we know the file size, display it after loading the file.
Signed-off-by: Simon Glass <sjg@chromium.org>
net/tftp.c
patch
|
blob
|
history
diff --git
a/net/tftp.c
b/net/tftp.c
index 966d1cfba360ce7e7505dd5f806ce13543b0654c..0a2c53302cab1edacacd88f439b888f4837e7d4a 100644
(file)
--- 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) {