[PATCH] configs: ti: enable TFTP_SIZE

Tero Kristo kristo at kernel.org
Tue May 11 09:40:15 CEST 2021


This fits the TFTP progress bar on single line based on the size of the
file being downloaded, reducing unnecessary spam and also making it
easier to track the download progress.

Signed-off-by: Tero Kristo <kristo at kernel.org>
---
 include/configs/ti_armv7_common.h | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/include/configs/ti_armv7_common.h b/include/configs/ti_armv7_common.h
index f13e9e5264..f40089a3fd 100644
--- a/include/configs/ti_armv7_common.h
+++ b/include/configs/ti_armv7_common.h
@@ -205,6 +205,8 @@
 		"run netloadfdt; " \
 		"run netargs; " \
 		"bootz ${loadaddr} - ${fdtaddr}\0"
+
+#define CONFIG_TFTP_TSIZE
 #else
 #define NETARGS ""
 #endif
-- 
2.17.1



More information about the U-Boot mailing list