summaryrefslogtreecommitdiffstats
path: root/net
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2014-10-10 07:30:21 -0600
committerSimon Glass <sjg@chromium.org>2014-10-22 21:50:33 -0600
commit8104f546296a8e1fc1dd6129041e22f508b314f9 (patch)
treec20ee4e06f7f0c96a8b5cf9071adc047724c5113 /net
parentc0561d14c5c0adb57bc84f071225a8e742c9a30b (diff)
downloadblackbird-obmc-uboot-8104f546296a8e1fc1dd6129041e22f508b314f9.tar.gz
blackbird-obmc-uboot-8104f546296a8e1fc1dd6129041e22f508b314f9.zip
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>
Diffstat (limited to 'net')
-rw-r--r--net/tftp.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/net/tftp.c b/net/tftp.c
index 966d1cfba3..0a2c53302c 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) {
OpenPOWER on IntegriCloud