U-Boot Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Tom Rini <trini@konsulko.com>
To: u-boot@lists.denx.de
Subject: [PATCH] configs: ti: enable TFTP_SIZE
Date: Tue, 11 May 2021 08:07:06 -0400	[thread overview]
Message-ID: <20210511120706.GM17669@bill-the-cat> (raw)
In-Reply-To: <20210511074015.24272-1-kristo@kernel.org>

On Tue, May 11, 2021 at 10:40:15AM +0300, Tero Kristo wrote:

> 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@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

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.

-- 
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>

  reply	other threads:[~2021-05-11 12:07 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-05-11  7:40 [PATCH] configs: ti: enable TFTP_SIZE Tero Kristo
2021-05-11 12:07 ` Tom Rini [this message]
2021-05-11 12:37   ` Tero Kristo

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20210511120706.GM17669@bill-the-cat \
    --to=trini@konsulko.com \
    --cc=u-boot@lists.denx.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox