summaryrefslogtreecommitdiff
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
parentc0561d14c5c0adb57bc84f071225a8e742c9a30b (diff)
downloadu-boot-imx-8104f546296a8e1fc1dd6129041e22f508b314f9.zip
u-boot-imx-8104f546296a8e1fc1dd6129041e22f508b314f9.tar.gz
u-boot-imx-8104f546296a8e1fc1dd6129041e22f508b314f9.tar.bz2
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>
-rw-r--r--net/tftp.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/net/tftp.c b/net/tftp.c
index 966d1cf..0a2c533 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) {