TFTP transfer size can be used to re-size the TFTP progress bar on
single line based on the server reported file size. Enable it by
default for Renesas hardware to avoid long scrolling walls of '#'
character during long TFTP transfers.

Signed-off-by: Marek Vasut <[email protected]>
---
Cc: Adriano Cordova <[email protected]>
Cc: Anand Moon <[email protected]>
Cc: Baruch Siach <[email protected]>
Cc: Ilias Apalodimas <[email protected]>
Cc: Jerome Forissier <[email protected]>
Cc: Joe Hershberger <[email protected]>
Cc: Ramon Fried <[email protected]>
Cc: Tom Rini <[email protected]>
Cc: [email protected]
---
NOTE: I wonder, shall we simply enable this by default ?
---
 net/Kconfig | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net/Kconfig b/net/Kconfig
index b4bb68dd613..24508026200 100644
--- a/net/Kconfig
+++ b/net/Kconfig
@@ -90,7 +90,7 @@ config TFTP_WINDOWSIZE
 config TFTP_TSIZE
        bool "Track TFTP transfers based on file size option"
        depends on CMD_TFTPBOOT
-       default y if (ARCH_OMAP2PLUS || ARCH_K3)
+       default y if (ARCH_OMAP2PLUS || ARCH_K3 || ARCH_RENESAS)
        help
          By default, TFTP progress bar is increased for each received UDP
          frame, which can lead into long time being spent for sending
-- 
2.45.2

Reply via email to