diff options
author | Simon Glass <sjg@chromium.org> | 2014-10-10 07:30:21 -0600 |
---|---|---|
committer | Simon Glass <sjg@chromium.org> | 2014-10-22 21:50:33 -0600 |
commit | 8104f546296a8e1fc1dd6129041e22f508b314f9 (patch) | |
tree | c20ee4e06f7f0c96a8b5cf9071adc047724c5113 /net/tftp.c | |
parent | c0561d14c5c0adb57bc84f071225a8e742c9a30b (diff) | |
download | u-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>
Diffstat (limited to 'net/tftp.c')
-rw-r--r-- | net/tftp.c | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -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) { |