]> git.kernelconcepts.de Git - karo-tx-uboot.git/commitdiff
net: Display the size when tftpboot finishes
authorSimon Glass <sjg@chromium.org>
Fri, 10 Oct 2014 13:30:21 +0000 (07:30 -0600)
committerSimon 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

index 966d1cfba360ce7e7505dd5f806ce13543b0654c..0a2c53302cab1edacacd88f439b888f4837e7d4a 100644 (file)
@@ -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) {