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 | |
parent | c0561d14c5c0adb57bc84f071225a8e742c9a30b (diff) | |
download | u-boot-8104f546296a8e1fc1dd6129041e22f508b314f9.tar.gz u-boot-8104f546296a8e1fc1dd6129041e22f508b314f9.tar.bz2 u-boot-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>
-rw-r--r-- | net/tftp.c | 2 |
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) { |