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 <marek.vasut+rene...@mailbox.org>
---
Cc: Adriano Cordova <adria...@gmail.com>
Cc: Anand Moon <linux.am...@gmail.com>
Cc: Baruch Siach <bar...@tkos.co.il>
Cc: Ilias Apalodimas <ilias.apalodi...@linaro.org>
Cc: Jerome Forissier <jerome.foriss...@linaro.org>
Cc: Joe Hershberger <joe.hershber...@ni.com>
Cc: Ramon Fried <rfried....@gmail.com>
Cc: Tom Rini <tr...@konsulko.com>
Cc: u-boot@lists.denx.de
---
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