Skip to contentSkip to conversation

configs: ti: enable TFTP_SIZE

PATCH New Tero Kristo 2 participants 3 messages May 11, 2021

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 configs: ti: enable TFTP_SIZE

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.

---
 include/configs/ti_armv7_common.h | 2 ++
 1 file changed, 2 insertions(+)
include/configs/ti_armv7_common.h +2 -0
index f13e9e5264..f40089a3fd 100644
@@ -205,6 +205,8 @@
 		"run netloadfdt; " \
 		"run netargs; " \
 		"bootz ${loadaddr} - ${fdtaddr}\0"
+
+#define CONFIG_TFTP_TSIZE
 #else
 #define NETARGS ""
 #endif
Signature · 1 line
2.17.1
#1 lore raw

PATCH 1/1 configs: ti: enable TFTP_SIZE

Quoted 14 lines · Tero Kristo

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.

---
 include/configs/ti_armv7_common.h | 2 ++
 1 file changed, 2 insertions(+)
include/configs/ti_armv7_common.h +0 -0
index f13e9e5264..f40089a3fd 100644

include/configs/ti_armv7_common.h line 212

Quoted 8 lines
include/configs/ti_armv7_common.h +2 -0
@@ -205,6 +205,8 @@
 		"run netloadfdt; " \
 		"run netargs; " \
 		"bootz ${loadaddr} - ${fdtaddr}\0"
+
+#define CONFIG_TFTP_TSIZE
 #else
 #define NETARGS ""
 #endif

That's pretty handy. Can you please convert it to Kconfig (it should go in net/Kconfig) and default y if ARCH_OMAP2PLUS should be fine. Thanks.

Signature · 8 lines
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 659 bytes
Desc: not available
URL: <https://lists.denx.de/pipermail/u-boot/attachments/20210511/7f32256e/attachment.sig>
#2 lore raw

PATCH 1/1 configs: ti: enable TFTP_SIZE

Quoted 11 lines · Tom Rini
Quoted 9 lines · Tero Kristo

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.

---
  include/configs/ti_armv7_common.h | 2 ++
  1 file changed, 2 insertions(+)
Quoted 17 lines

include/configs/ti_armv7_common.h line 212

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

That's pretty handy. Can you please convert it to Kconfig (it should go in net/Kconfig) and default y if ARCH_OMAP2PLUS should be fine. Thanks.

Yea, I can take a shot at that.

-Tero